use route service provider
This commit is contained in:
parent
c3f7dd9af8
commit
6aa12f1b06
|
@ -25,7 +25,7 @@
|
|||
@if (Route::has('login'))
|
||||
<div class="hidden fixed top-0 right-0 px-6 py-4 sm:block">
|
||||
@auth
|
||||
<a href="{{ url('/home') }}" class="text-sm text-gray-700 underline">Home</a>
|
||||
<a href="{{ url(App\Providers\RouteServiceProvider::HOME) }}" class="text-sm text-gray-700 underline">Home</a>
|
||||
@else
|
||||
<a href="{{ route('login') }}" class="text-sm text-gray-700 underline">Login</a>
|
||||
|
||||
|
|
Loading…
Reference in New Issue