我的应用程序适用于2个不同的范围
Router::scope('/', function (RouteBuilder $routes) {
$routes->connect('/', ['controller' => 'Homepage', 'action' => 'display', 'prefix' => 'Dsp']);
$routes->fallbacks('DashedRoute');
});
Router::scope('/cms', function (RouteBuilder $routes) {
$routes->connect('/', ['controller' => 'Dashboard', 'action' => 'display', 'prefix' => 'Cms']);
$routes->fallbacks('DashedRoute');
});
是否可以在每个范围的App / src / Template / Layouts中使用单独的布局(default.ctp)?