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 |
Explain the difference between laravel and codeigniter?
How do I use sub-domain routing?
What are system requirement for laravel 5.0?
why we use Laravel - Session ?
Explain how to redirect user with flashed session data in laravel?
What is bootstrap software development?
How to get cookies in laravel?
Can you update homestead?
How will you explain dd() function in laravel?
Why we use Laravel - Artisan Console ?
What is guarded attribute in a model?
What is lumen?