Prefix route name with admin.

This commit is contained in:
ben 2023-10-09 05:08:32 -04:00
parent c7a3fadb96
commit 9fc26f5125
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
<ul role="list" class="-mx-2 mt-2 space-y-1">
<li>
{{-- TODO: fill with SVG icons to make it pretty --}}
<x-sidebar-nav :href="route('send')" route="send">Send Quote</x-sidebar-nav>
<x-sidebar-nav :href="route('admin.send')" route="send">Send Quote</x-sidebar-nav>
</li>
<li>
{{-- TODO: fill with SVG icons to make it pretty --}}

View File

@ -27,7 +27,7 @@ Route::view('profile', 'profile')
Route::view('send', 'admin.send')
->middleware(['auth'])
->name('send');
->name('admin.send');
Route::middleware('guest')->group(function () {
Volt::route('login', 'pages.auth.login')