My login route is
Route::post('/user/login', array('as' => 'userlogin', 'uses' => 'UserController@login'));
I have debug the code line by line on local server , flow is coming in UserController's login function. It is working perfecly fine on the local server , but as i deployed the source on amazon it is throwing an error
NotFoundHttpException in RouteCollection.php line 161
I have tried many solutions but nothing worked for me. Any suggestions in this regard ?