jeudi 4 août 2016

How to call two methods of same controller in router

I have two methods that I want to call into a view(same controller). How can I do that. For example this is a route to the view

Route::get('url', 'ExampleController@foo'); Route::get('url', 'ExampleController@bar');

How can I merge those two.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire