Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Tell me how to implement you own package in laravel?

695


what is meant by Laravel - Contracts ?

2016


What is a repl?

698


What is chunk in laravel?

743


How to start mysql on valet?

687


Define contextual binding?

769


How do I use eloquent to get a list of comments with one author each avoiding n+1 queries?

679


How will you explain dd() function in laravel?

768


Explain the bindings and singletons properties?

683


What is blade laravel?

741


What is namespace laravel?

747


How to generate a controller with resources in laravel?

788


Do you know what is php artisan.

713


How to get, set, distroy cookies in laravel?

696


What is laravel model?

698