|
@@ -6,7 +6,7 @@
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
<title>Laravel</title>
|
|
|
|
|
|
- <link href="/css/app.css" rel="stylesheet">
|
|
|
+ <link href="{{ asset('/css/app.css') }}" rel="stylesheet">
|
|
|
|
|
|
<!-- Fonts -->
|
|
|
<link href='//fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
|
|
@@ -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
|