Prefix route name with admin.
This commit is contained in:
parent
c7a3fadb96
commit
9fc26f5125
@ -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 --}}
|
||||
|
||||
@ -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')
|
||||
|
||||
Reference in New Issue
Block a user