|
@@ -38,13 +38,13 @@
|
|
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
@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
|
|
|
<li class="dropdown">
|
|
|
<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">
|
|
|
- <li><a href="/auth/logout">Logout</a></li>
|
|
|
+ <li><a href="{{ url('/auth/logout') }}">Logout</a></li>
|
|
|
</ul>
|
|
|
</li>
|
|
|
@endif
|