Laravel controller method not found but routes is correct

Having problem with your Laravel routes that said controller method not found and you already have done this:

  1. composer dump-autoload
  2. check the routes using php artisan routes
  3. and you are absolutely confident that the url that you use is correct

Then most probably you have this small mistake.

In routes.php, find a line that look like this

Route::controller("/","HomeController");

Route::controller("users","UsersController");

Try to change the order of route registration

Route::controller("users","UsersController");

Route::controller("/","HomeController");

Explanation:

Routes are registered from top to the bottom. If any match is found, that matching callback is executed, Laravel does not continue in lookup. Home route "/" should be placed as last one, as this says there is nothing more to lookup

Reference :

http://stackoverflow.com/a/21698489