I am trying to use RESTful controller. Here is my Route.php
:
Route::resource(\'test\', \'TestController\');
Route::get(\'/\', function()
{
r
I was getting the same error exception while one project was working but another project with same .htaccess file on same localhost was not working. Turns out since my project directory has capital letter in it, URL also should be capital for routing to work. localhost/minorweb/public/account was not working but localhost/minorWeb/public/account with W capital was working. so, if nothing seems to solve the problem, check your URL is matched with project directory with case.