In fact i'm looking for filter chields route for admins route for example
get('admins/*', ['middleware' => 'auth' ,function() {}]);
I think in laravel 4 was Route::when('admins/*', '/');
to redirect user for / in not has auth by Call Pattern Filter from filter.php
Is there someway to achieve that in laravel 5.1 ?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire