Skip to content

Commit a5c5eca

Browse files
committed
Updated route group as admin
1 parent 8d6171c commit a5c5eca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resources/js/Layouts/Authenticated.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const showingNavigationDropdown = ref(false);
7979
<BreezeResponsiveNavLink :href="route('dashboard')" :active="route().current('dashboard')">
8080
Dashboard
8181
</BreezeResponsiveNavLink>
82-
<BreezeResponsiveNavLink :href="route('permission.index')" :active="route().current('permission.index')">
82+
<BreezeResponsiveNavLink :href="route('admin.permission.index')" :active="route().current('admin.permission.index')">
8383
Permissions
8484
</BreezeResponsiveNavLink>
8585
</div>

resources/js/Pages/Admin/Menu/Create.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const form = useForm({
3131
main
3232
>
3333
<BaseButton
34-
:route-name="route('menu.index')"
34+
:route-name="route('admin.menu.index')"
3535
:icon="mdiArrowLeftBoldOutline"
3636
label="Back"
3737
color="white"
@@ -41,7 +41,7 @@ const form = useForm({
4141
</SectionTitleLineWithButton>
4242
<CardBox
4343
form
44-
@submit.prevent="form.post(route('menu.store'))"
44+
@submit.prevent="form.post(route('admin.menu.store'))"
4545
>
4646
<FormField
4747
label="Name"

0 commit comments

Comments
 (0)