Closed zahovicS closed 1 month ago
This appears in the documentation:
app()->get('/movies/{movieId}', ['name' => 'movies', function () { echo 'User Movies'; }]); app()->route('movies', 'my-movie') // Would return: /movies/my-movie
But when I use it:
app()->route('movies', 'my-movie') // Return: /movies/{movieId}
Returns the path, does not replace it with the entered value.
I am doing something wrong? I am using Leaf MVC
I believe this was fixed in a recent PR
Thanks
This appears in the documentation:
But when I use it:
Returns the path, does not replace it with the entered value.
I am doing something wrong? I am using Leaf MVC