How to Redirecting to Controller Actions in Laravel ?
Answer / suresh kumar
Not only named route but we can also redirect to controller actions.
We need to simply pass the controller and name of the action to the action method as shown in the following example.
return redirect()->action(‘NameOfController@methodName’,[parameters]);
| Is This Answer Correct ? | 0 Yes | 0 No |
What is orm in laravel?
What do you mean by binding in laravel?
What is laravel quora?
What is factory in laravel?
How do I customize validation error messages for a form?
List some official packages provided by laravel?
How can we get data between two dates using query in laravel?
How to access session data?
Tell us do you have any experience with lamp?
How can we check the logged-in user info in laravel?
Explain how can you write your own service provider in laravel?
What encryption does laravel use?