jeudi 26 novembre 2015

Create Conditional Page View on Laravel by User Type

Does anyone know how to get this done? I'm trying to create a condition in Laravel's route. That if a type of user(example: Admin), the Dashboard page will be different from other types of user(example: Client).

See image here ->http://ift.tt/1lLSqIy

Noticed: They should go in the same URL domain.com/dashboard. The page that will be rendered to the view must reflect to the type of user that's login.

Idea, anyone? thank you so much!!



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

Aucun commentaire:

Enregistrer un commentaire