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 are named routes in laravel?
What is the difference between namespace and use in laravel?
Do you know what developed the laravel?
How to enable or disable maintaince mode in laravel.
How do I require authentication for a set of routes associated with a subdomain?
How to install laravel via laravel installer.
What are the feature of laravel 5.0?
what is Restful Resource Controllers ?
What is blade in laravel?
what is Basic Routing ?
Explain homestead in laravel.
How do you define middleware?
What do you know about traits in laravel?
What is meant by Retrieving Input ?
What is laravel horizon?