I am upgrading my app from Laravel 4.2 => 5.x I was using routes such as
Route::post('/cancelaccount',["as"=>"/cancelaccount",'uses'=>'UserController@cancelAccount']);
But when I try to load the page, I get "/cancelaccount" undefined error. I do not get this error if it's a GET request, I have problem with all my POST requests which are submitting to controller methods.
Currently as a workaround, I am replacing all actions to Controller@method format from URL format
Am I missing anything?