mardi 29 août 2017

laravel 5.4 access current user data in layout.blade

I want to get data about the current user in the header of the site, what would be displayed on each page! I tried to use , but only works on the login page. When I go to another page, I get an error: "Trying to get property of non-object". How to fix it?



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

Aucun commentaire:

Enregistrer un commentaire