Sorry, anyone please help me. I use Laravel 5.4. I just wanna echo auth()-user()->role in view, but the result is different when I echo auth()->user()->role in controller. This is the code.
Does anyone know the problem? I've tried to clear cache, but no changes. Thanks
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2wXe085
via IFTTT
Aucun commentaire:
Enregistrer un commentaire