diff --git a/web/src/router.js b/web/src/router.js index 22600cd..678195b 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" @@ -57,6 +58,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 e8def6a..ef3c097 100644 --- a/web/src/views/admin/Admin.vue +++ b/web/src/views/admin/Admin.vue @@ -8,6 +8,9 @@