diff --git a/web/src/router.js b/web/src/router.js index d8d0d73..203d373 100644 --- a/web/src/router.js +++ b/web/src/router.js @@ -13,6 +13,7 @@ import Ticket from "@/views/Ticket.vue"; import Admin from "@/views/admin/Admin.vue"; import Empty from "@/views/Empty.vue"; import Events from "@/views/admin/Events.vue"; +import Settings from "@/views/admin/Settings.vue"; import AccessControl from "@/views/admin/AccessControl.vue"; import {default as BoxesAdmin} from "@/views/admin/Boxes.vue" import Shipping from "@/views/admin/Shipping.vue"; @@ -58,6 +59,10 @@ const routes = [ path: 'events/', name: 'events', component: Events, meta: {requiresAuth: true, requiresPermission: 'delete_event'} }, + { + path: 'settings/', name: 'settings', component: Settings, meta: + {requiresAuth: true, requiresPermission: 'delete_event'} + }, { path: '', name: 'admin', component: Debug, meta: {requiresAuth: true, requiresPermission: 'delete_event'} diff --git a/web/src/views/admin/Admin.vue b/web/src/views/admin/Admin.vue index 5a71223..2f28818 100644 --- a/web/src/views/admin/Admin.vue +++ b/web/src/views/admin/Admin.vue @@ -8,6 +8,9 @@