Open dumithsalinda opened 3 years ago
Is there a way to pass url parameters like slug to dynamic pages.. similar to laravel.
blog/{slug} etc
Thank you
Hi, yes this is possible by creating routes that have exactly that syntax. See this code.
Hi, I have added a route in the DB as blog/{slug} and i have created a block. Now the question is how to i access that slug variable in the blocks page?
any updates? Stuck on same issue!
Is there a way to pass url parameters like slug to dynamic pages.. similar to laravel.
blog/{slug} etc
Thank you