@if (Route::has('login'))
@auth
Home
Logout
{{ csrf_field() }}
@else
Login
@endauth
@endif
Laravel
Documentation
Laracasts
News
Forge
GitHub