Hey guys!
I added routes for admin panel on my site:
$router->add('/adm', 'admin::index');
$router->add('/adm/:action', ['controller' => 'admin', 'action' => 1]);
$router->add('/adm/market', ['controller' => 'adminmarket', 'action' => 'index']);
$router->add('/adm/market/:action', ['controller' => 'adminmarket', 'action' => 1]);
So... /adm/:action success found AdminController.php in /controllers dir. But /adm/market not found AdminMarketController.php in the same dir. Why? Routes hierarchy problem? Or what?