Commit 4929781b authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #3282 from mathewhany/master

Update app.blade.php
parents 78e24acf 92510f7e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title> <title>Laravel</title>
<link href="/css/app.css" rel="stylesheet"> <link href="{{ asset('/css/app.css') }}" rel="stylesheet">
<!-- Fonts --> <!-- Fonts -->
<link href='//fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Roboto:400,300' rel='stylesheet' type='text/css'>
...@@ -38,13 +38,13 @@ ...@@ -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="{{ url('/auth/login') }}">Login</a></li>
<li><a href="/auth/register">Register</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
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
@endif @endif
<form class="form-horizontal" role="form" method="POST" action="/auth/login"> <form class="form-horizontal" role="form" method="POST" action="{{ url('/auth/login') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group"> <div class="form-group">
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
<div class="col-md-6 col-md-offset-4"> <div class="col-md-6 col-md-offset-4">
<button type="submit" class="btn btn-primary">Login</button> <button type="submit" class="btn btn-primary">Login</button>
<a class="btn btn-link" href="/password/email">Forgot Your Password?</a> <a class="btn btn-link" href="{{ url('/password/email') }}">Forgot Your Password?</a>
</div> </div>
</div> </div>
</form> </form>
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
</div> </div>
@endif @endif
<form class="form-horizontal" role="form" method="POST" action="/password/email"> <form class="form-horizontal" role="form" method="POST" action="{{ url('/password/email') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group"> <div class="form-group">
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
@endif @endif
<form class="form-horizontal" role="form" method="POST" action="/auth/register"> <form class="form-horizontal" role="form" method="POST" action="{{ url('/auth/register') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group"> <div class="form-group">
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</div> </div>
@endif @endif
<form class="form-horizontal" role="form" method="POST" action="/password/reset"> <form class="form-horizontal" role="form" method="POST" action="{{ url('/password/reset') }}">
<input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="token" value="{{ $token }}"> <input type="hidden" name="token" value="{{ $token }}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment