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
Tell me how to implement you own package in laravel?
what is meant by Laravel - Contracts ?
What is a repl?
What is chunk in laravel?
How to start mysql on valet?
Define contextual binding?
How do I use eloquent to get a list of comments with one author each avoiding n+1 queries?
How will you explain dd() function in laravel?
Explain the bindings and singletons properties?
What is blade laravel?
What is namespace laravel?
How to generate a controller with resources in laravel?
Do you know what is php artisan.
How to get, set, distroy cookies in laravel?
What is laravel model?