samedi 26 septembre 2015

Laravel 5 custom named routes in resource controllers

How can I pass in my own extra named routes for a resource controller?

I have:

Route::resource('logistics', 'LogisticsController', ['names' => [
    'index-inbound' => 'logistics.indexInbound'
]]);

But this does not work.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1O15TYI
via IFTTT

Aucun commentaire:

Enregistrer un commentaire