I've been trying to organize my route like this ( Laravel 4.1 )
Route::controller('/', 'HomeController'); the method ( getIndex ) -- first controller Route::controller('/', 'AuthController'); the method ( getLogin, postLogin ) - second controller
but when i access the http::/mywebsite.com/login it always returns an error 'Controller method not found.', it seems that after the first route is found it stops and ignores the next route. Is it possible to make it like L4.0? like when the method in the first controller is not found it will proceed to the next controller.
Thank you.
why not use?
Route::controller('/login', 'AuthController');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community