Tuesday, April 4, 2017

How to allow $user variable in a blade view page in Laravel?

I have this page support.blade.php in views folder and I'm using laravel.

I can't echo out $user->id or $user[id] in this page and i get undified variable error! it's possible to echo it out in other pages like in tickets.blade.php but in this specific page it's not working

How can i fix this?



via nima

Advertisement