We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My routes
$routes->get('posts/(:any)/(:any)', 'Post::index/$2', ['as' => 'post-with-slug']);
When I use
route_to('post-with-slug', '2', '3');
I want to result is domain.com/posts/2/3
domain.com/posts/2/3
But now result is domain/posts/2/2
domain/posts/2/2
What am I doing wrong, or it is a bug?
The text was updated successfully, but these errors were encountered:
Try only using one (:any) any matches to the end of the url
Sorry, something went wrong.
To expand on what @InsiteFX said, use (:segment) now any place you would have used (:all) in previous versions.
(:segment)
(:all)
That being said - this area is reserved for bug-reports. The forums are the appropriate place to ask for help.
No branches or pull requests
My routes
When I use
I want to result is
domain.com/posts/2/3
But now result is
domain/posts/2/2
What am I doing wrong, or it is a bug?
The text was updated successfully, but these errors were encountered: