This makes the links consistent with the ones in https://github.com/laravel/framework/blob/5.4/src/Illuminate/Auth/Console/stubs/make/views/layouts/app.stub
@@ -71,8 +71,8 @@
@if (Auth::check())
<a href="{{ url('/home') }}">Home</a>
@else
- <a href="{{ url('/login') }}">Login</a>
- <a href="{{ url('/register') }}">Register</a>
+ <a href="{{ route('login') }}">Login</a>
+ <a href="{{ route('register') }}">Register</a>
@endif
</div>