mardi 11 juillet 2017

Laravel protect routes from users that are not admin

I have certain routes that I need to protect from users that are not admin.

For example

http://ift.tt/2u4hUsB

returns all the clients but is only for the administrator.

However

 http://ift.tt/2sLyYje

Should be available to them if they are logged in.

What is the best way to achieve this



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

Aucun commentaire:

Enregistrer un commentaire