How to Redirecting to Controller Actions in Laravel ?
Answer Posted / 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 |
Post New Answer View All Answers
What encryption does laravel use?
How do I use sub-domain routing?
How to serve sites with tls on valet?
How to install laravel by composer?
What is reverse path multicasting?
What are the requirements to install valet?
How to enable or disable maintenance mode in laravel?
What are the software’s included in laravel homestead?
Explain traits in laravel.
Explain closures in laravel?
What is the use of db facade?
What is mvc framework laravel?
How to configure a mail-in laravel?
What is a Views ?
What is Testability ?