in my routes.php
Route::controller('/admin','AdminController');
Route::controller('/admin/customers','\\Admin\\CustomersController');
but when i try to access localhost/admin/customers/create i get Controller method not found. (NotFoundHttpException) how can i make the secondary route to dispatch the other controller
so the solution i came with is to swap the controllers order in the routes.php file
because laravel locates routes by array_first
Another way to resolve this, is by using route groups (http://laravel.com/docs/4.2/routing#route-prefixing).
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community