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 is a Views ?
Explain how to share sites with external world on valet?
What do you mean by route groups used in laravel 5?
What are the benefits of laravel?
What is helper in laravel?
List the software’s included in laravel homestead?
What is laravel vue?
How to Redirecting to Controller Actions in Laravel ?
How to check an input value is present or not in laravel?
Tell me how to set database connection in laravel?
Where will you define laravel's facades?
Where laravel’s facades are defined?
Tell me how to get current environment in laravel 5?
How can you write your own service provider in laravel.
What are the Advantages of Laravel ?