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
Hi guys.
This is my sample...
Router::group('group', function() { Router::any('add', 'App\Controllers\Group\Group@add'); Router::any('edit/(:num)', 'App\Controllers\Group\Group@edit'); Router::any('remove/(:num)', 'App\Controllers\Group\Group@remove'); Router::any('(:num)', 'App\Controllers\Group\Group@group'); Router::any('', 'App\Controllers\Group\Group@index'); });
To work correctly I need to do this:
Router::group('group', function() { Router::any('add', 'App\Controllers\Group\Group@add'); Router::any('edit/(:num)', 'App\Controllers\Group\Group@edit'); Router::any('remove/(:num)', 'App\Controllers\Group\Group@remove'); Router::any('(:num)', 'App\Controllers\Group\Group@group'); }); Router::any('group', 'App\Controllers\Group\Group@index');
The text was updated successfully, but these errors were encountered:
Placing catch routes like (:num) should come last otherwise any routes after those won't be executed
Sorry, something went wrong.
No branches or pull requests
Hi guys.
This is my sample...
To work correctly I need to do this:
The text was updated successfully, but these errors were encountered: