vendredi 26 février 2016

Same URL for multiple routes

How can same URL be pointing to different controllers depending on the user role ?

For instance /route1 should be poiting on Admin\route1Controller@index if the user has the admin role, and OtherRole\route1Controller@index if the user has the OtherRole role.

How can this be done ?



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

Aucun commentaire:

Enregistrer un commentaire