I have a situation where i wanna give access to both user and company for the same route using middleware.Is there any way i can user any condition like AND/OR in the middleware group. If anyone of them are authorized than can access the routes.
Route::group(['middleware' => ['auth','company']], function() { my routes });
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2GSQmMx
via IFTTT
Aucun commentaire:
Enregistrer un commentaire