How can I use the $user->isSuperAdmin()
function, that Laravel uses in their guide for Authorization, outside of the gates and policies?
It does not seem to be possible with my simple tries.
I am referring to: http://ift.tt/2kVJx1v
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vGLBjb
via IFTTT
Aucun commentaire:
Enregistrer un commentaire