Prefix route name with admin.

This commit is contained in:
ben committed 2023-10-09 05:08:32 -04:00
1 parent c7a3fadb96
commit 9fc26f5125
2 files changed
+2 -2

No files matched your search

+1 -1
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 --}}
+1 -1
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')