13 lines
290 B
PHP
Executable file
13 lines
290 B
PHP
Executable file
@if (Route::has('login'))
|
|
<nav>
|
|
@auth
|
|
<a href="{{ route('dashboard') }}">Dashboard</a>
|
|
@else
|
|
<a href="{{ route('login') }}">Log in</a>
|
|
|
|
@if (Route::has('register'))
|
|
<a href="{{ route('register') }}">Register</a>
|
|
@endif
|
|
@endauth
|
|
</nav>
|
|
@endif
|