auth directive laravel views code example
Example: laravel guest blade
//LARAVEL - BLADE:
@guest
// The user is not authenticated...
@endguest
@auth
// The user is authenticated...
@endauth
//LARAVEL - BLADE:
@guest
// The user is not authenticated...
@endguest
@auth
// The user is authenticated...
@endauth