lundi 2 novembre 2015

Route::controller route names

How can I get route names for Route::controller to use with route() helper ?

For example:

Route::controller('admin', 'AdminController');

Is possible to use 'admin' as a prefix, for example route('admin.users') and so on ?

I've tried issuing artisan route:list but doesn't show anything for these routes.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire