Add new methods to a resource controller in Laravel -


i want know if possible add new methods resource controller in laravel , how it.

i know these methods default (index, create, store, edit, update, destroy). want add additional methods , routes same controller.

is possible?

just add route method separately, before register resource:

route::get('foo/bar', 'foocontroller@bar'); route::resource('foo', 'foocontroller'); 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -