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

How can we use middleware in laravel?

665


Where will you define laravel's facades?

651


What is database migration in laravel?

764


What are service containers?

669


What is the use of laravel framework?

730


What is named route?

658


Explain elixir in laravel?

803


What is singleton in laravel?

690


What are the difference between insert() and insertgetid() in laravel?

773


Explain binding instances?

734


How to get user’s ip address in laravel?

648


What is the difference between print_r and var_dump?

649


Where is the authentication configuration file is located in laravel?

731


Explain request life cycle of laravel.

732


What is laravel 5?

672