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
$router->add('/admin/:controller', [ 'module' => 'test', 'controller' => 1, 'action' => 'index', ]); $router->add('/admin/:controller/:action', [ 'module' => 'test', 'controller' => 1, 'action' => 2, ]);
/admin/controller
/admin/123
/admin/controller/edit
/admin/controller/123
http://forum.phalconphp.com/discussion/1288/-router#C4617
The text was updated successfully, but these errors were encountered:
Merge pull request #1694 from sjinks/router
f3808d7
Fix #1688
No branches or pull requests
/admin/controller
-- uses Controller controller and the default action, all good/admin/123
-- uses the default controller and default action instead of 404/admin/controller/edit
-- uses Controller controller and edit action, all good/admin/controller/123
-- uses Controller controller and the default action instead of 404http://forum.phalconphp.com/discussion/1288/-router#C4617
The text was updated successfully, but these errors were encountered: