|
@@ -38,13 +38,13 @@
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<ul class="nav navbar-nav navbar-right">
|
|
@if (Auth::guest())
|
|
@if (Auth::guest())
|
|
- <li><a href="/auth/login">Login</a></li>
|
|
|
|
- <li><a href="/auth/register">Register</a></li>
|
|
|
|
|
|
+ <li><a href="{{ url('/auth/login') }}">Login</a></li>
|
|
|
|
+ <li><a href="{{ url('/auth/register') }}">Register</a></li>
|
|
@else
|
|
@else
|
|
<li class="dropdown">
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->name }} <span class="caret"></span></a>
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->name }} <span class="caret"></span></a>
|
|
<ul class="dropdown-menu" role="menu">
|
|
<ul class="dropdown-menu" role="menu">
|
|
- <li><a href="/auth/logout">Logout</a></li>
|
|
|
|
|
|
+ <li><a href="{{ url('/auth/logout') }}">Logout</a></li>
|
|
</ul>
|
|
</ul>
|
|
</li>
|
|
</li>
|
|
@endif
|
|
@endif
|