Reputation: 13
how to check if user is logged in directly in the view with blade ? I know that i can use this in controller:
PHP
Auth::check()
Upvotes: 1
Views: 5377
Reputation: 4508
@if (Auth::check()) I'm connected @endif
Upvotes: 10