group(["prefix" => "admin"], function (CgRouteCollector $router) { App::$collector->group(["before" => "auth"], function (RouteCollector $router) { App::$collector->group(["prefix" => "card"], function (CGRouteCollector $router) { // App::$collector->get('/test', [\app\modules\card\controllers\CardController::class, 'actionTestCard']); }); }); });