use route service provider

This commit is contained in:
Taylor Otwell 2020-06-03 14:51:22 -05:00
parent c3f7dd9af8
commit 6aa12f1b06
1 changed files with 1 additions and 1 deletions

View File

@ -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>