I have an action named destroy in UserController I don't wanna work this action instead of UserInfoController@destroy supposed to run. So I need to redirect to the UserInfoControlle@destroy
controller.
UserController@destroy action;
return redirect()->action(
'UserInfoController@destroy',['id' => 1]
);
Action successfully ran but I get this error;
The GET method is not supported for this route. Supported methods: POST.