I want to show user information publicly from built-in users table in Laravel. More specifically, Anyone can see user information(name, email, username) without logged in. I've used these in blade file:
But it only works when user logged in otherwise shows errors. Even I've used ELOQUENT in controller and have passed $user object with by view. I'm attaching images so that you can understand my problem. This is my PagesController file
And this is my welcome.blade.php file
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2lMFGV8
via IFTTT
Aucun commentaire:
Enregistrer un commentaire