I am trying to separate user & admin functionality but can't find a satisfactory solution.
After login, the user is authenticated and then he is redirected to either user or admin blade view depending upon the role.
"Now, in the user.blade file, I just want to load user-related routes & components and vice versa. This way, I won't need any ACL in Vue-router and extra fuss, I guess".
But how do I make this work? I have searched everywhere but can't find a proper solution...
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2TJqSaO
via IFTTT
Aucun commentaire:
Enregistrer un commentaire