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 route in laravel?
How to enable or disable maintaince mode in laravel.
What do you know about laravel contracts?
List some use valet commands?
Lists the available router methods used in laravel 5?
What is a Retrieving Input ?
Explain the concept of cookies.
What is rest api laravel?
How can you retrieve values for laravel configration files.
How to retrive all requested data in laravel?
Tell me how to implement you own package in laravel?
What is the best backend for react?
What are common http error codes?
What is Laravel - Middleware ?
How secure is laravel?