This is my application structure-
src
_Controller
__Admin
___DashboardController.php
__AppController.php
__OtherPublicController.php
And my routes.php -
Router::prefix('admin',function($routes){
$routes->connect('/',['controller' => 'Dashboard', 'action' => 'index'],['_name' => 'admin_dashboard']);
$routes->fallbacks(DashedRoute::class);
});
and the controller namespace -
namespace App\Controller\Admin;
But I am getting missing controller error