@if (app('router')->has('login'))
@if (auth()->check())
Home
@else
Login
Register
@endif
@endif
Laravel
Documentation
Laracasts
News
Forge
GitHub