I have a default table users and related table user_details.
When user does auth it retrieves data from users table and is available to global object:
Auth::user()
How to extend Auth::user() with data from related table user_details
?
Reason is to show a full information about authenticated user in each pages(at header)
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2I3YYh1
via IFTTT
Aucun commentaire:
Enregistrer un commentaire