Closed

Description
$router->add('/admin/:controller', [
'module' => 'test',
'controller' => 1,
'action' => 'index',
]);
$router->add('/admin/:controller/:action', [
'module' => 'test',
'controller' => 1,
'action' => 2,
]);
/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 404
Metadata
Metadata
Assignees
Labels
No labels