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
This is a feature I really miss in Respect/Rest is, to allow subrouters.
Eg. define sub routers:
$blog = new Router; $blog->get('/', function() { return 'This is my Blog'; }); $site = new Router; $site->get('/', function() { return 'This is the main site'; }); $site->get('/contact', function() { return 'Contact'; });
And then have a master:
$r3 = new Router; $r3->get('/blog', $blog); $r3->get('/site', $site);
If you like the Idea, I may also offer an implementation, but this takes a week or two.
So that /site/contact will result in Contact and /blog will result in This is my Blog
/site/contact
Contact
/blog
This is my Blog
The text was updated successfully, but these errors were encountered:
Seconded, this would be extremely useful.
Sorry, something went wrong.
it would be awesome
No branches or pull requests
This is a feature I really miss in Respect/Rest is, to allow subrouters.
Eg. define sub routers:
And then have a master:
If you like the Idea, I may also offer an implementation, but this takes a week or two.
So that
/site/contact
will result inContact
and/blog
will result inThis is my Blog
The text was updated successfully, but these errors were encountered: