'_root_' => 'public/index', '_404_' => 'public/404', // ADMIN Routes 'adm' => 'admin/dashboard', // Admin Dashboard 'adm/(:any)' => 'admin/$1', // Admin Controllers // API Routess 'api' => 'api/404', // Return status 404 and a null body 'api/(:any)' => 'api/$1', // API Controllers
The normal approach for dynamic routing is that you route everything to your front controller
It looks like you're new here. If you want to get involved, click one of these buttons!