parent
b581b1b6d8
commit
14b36328ac
@ -1,14 +1,14 @@ |
||||
export default { |
||||
path: '/account', |
||||
path: "/account", |
||||
meta: { requiresAuth: true }, |
||||
name: 'account', |
||||
component: () => import('../components/course/Layout.vue'), |
||||
name: "account", |
||||
component: () => import("../components/course/Layout.vue"), |
||||
children: [ |
||||
{ |
||||
name: 'AccountHome', |
||||
path: 'home', |
||||
component: () => import('../views/account/Home.vue'), |
||||
meta: {requiresAuth: true}, |
||||
name: "AccountHome", |
||||
path: "home", |
||||
component: () => import("../views/account/Home.vue"), |
||||
meta: { requiresAuth: true }, |
||||
}, |
||||
] |
||||
}; |
||||
], |
||||
} |
||||
|
@ -1,21 +1,20 @@ |
||||
export default { |
||||
path: '/admin', |
||||
name: 'admin', |
||||
meta: { requiresAuth: true, showBreadcrumb: true }, |
||||
component: () => import('../components/admin/AdminLayout.vue'), |
||||
children: [ |
||||
{ |
||||
path: '', |
||||
name: 'AdminIndex', |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true, showBreadcrumb: false }, |
||||
component: () => import('../views/admin/AdminIndex.vue'), |
||||
}, |
||||
{ |
||||
name: 'AdminConfigurationColors', |
||||
path: 'configuration/colors', |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true, showBreadcrumb: true }, |
||||
component: () => import('../views/admin/AdminConfigureColors.vue'), |
||||
} |
||||
], |
||||
}; |
||||
|
||||
path: "/admin", |
||||
name: "admin", |
||||
meta: { requiresAuth: true, showBreadcrumb: true }, |
||||
component: () => import("../components/admin/AdminLayout.vue"), |
||||
children: [ |
||||
{ |
||||
path: "", |
||||
name: "AdminIndex", |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true, showBreadcrumb: false }, |
||||
component: () => import("../views/admin/AdminIndex.vue"), |
||||
}, |
||||
{ |
||||
name: "AdminConfigurationColors", |
||||
path: "configuration/colors", |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true, showBreadcrumb: true }, |
||||
component: () => import("../views/admin/AdminConfigureColors.vue"), |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,6 +1,6 @@ |
||||
export default { |
||||
path: '/catalogue/courses', |
||||
name: 'CatalogueCourses', |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true }, |
||||
component: () => import('../views/course/CatalogueCourses.vue') |
||||
}; |
||||
path: "/catalogue/courses", |
||||
name: "CatalogueCourses", |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true }, |
||||
component: () => import("../views/course/CatalogueCourses.vue"), |
||||
} |
||||
|
@ -1,6 +1,6 @@ |
||||
export default { |
||||
path: '/catalogue/sessions', |
||||
name: 'CatalogueSessions', |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true }, |
||||
component: () => import('../views/course/CatalogueSessions.vue') |
||||
}; |
||||
path: "/catalogue/sessions", |
||||
name: "CatalogueSessions", |
||||
meta: { requiresAdmin: true, requiresSessionAdmin: true }, |
||||
component: () => import("../views/course/CatalogueSessions.vue"), |
||||
} |
||||
|
@ -1,25 +1,25 @@ |
||||
export default { |
||||
path: '/resources/ccalendarevent', |
||||
path: "/resources/ccalendarevent", |
||||
meta: { requiresAuth: true }, |
||||
name: 'ccalendarevent', |
||||
redirect: { name: 'CCalendarEventList' }, |
||||
component: () => import('../components/ccalendarevent/CCalendarEventLayout.vue'), |
||||
name: "ccalendarevent", |
||||
redirect: { name: "CCalendarEventList" }, |
||||
component: () => import("../components/ccalendarevent/CCalendarEventLayout.vue"), |
||||
children: [ |
||||
{ |
||||
name: 'CCalendarEventShow', |
||||
path: 'show', |
||||
component: () => import('../views/ccalendarevent/CCalendarEventShow.vue') |
||||
name: "CCalendarEventShow", |
||||
path: "show", |
||||
component: () => import("../views/ccalendarevent/CCalendarEventShow.vue"), |
||||
}, |
||||
{ |
||||
name: 'CCalendarEventCreate', |
||||
path: 'new', |
||||
component: () => import('../views/ccalendarevent/CCalendarEventCreate.vue') |
||||
name: "CCalendarEventCreate", |
||||
path: "new", |
||||
component: () => import("../views/ccalendarevent/CCalendarEventCreate.vue"), |
||||
}, |
||||
{ |
||||
name: 'CCalendarEventList', |
||||
path: '', |
||||
component: () => import('../views/ccalendarevent/CCalendarEventList.vue'), |
||||
props: (route) => ({ type: route.query.type }) |
||||
} |
||||
] |
||||
}; |
||||
name: "CCalendarEventList", |
||||
path: "", |
||||
component: () => import("../views/ccalendarevent/CCalendarEventList.vue"), |
||||
props: (route) => ({ type: route.query.type }), |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,29 +1,29 @@ |
||||
export default { |
||||
path: '/resources/courses', |
||||
path: "/resources/courses", |
||||
meta: { requiresAuth: true }, |
||||
name: 'courses', |
||||
component: () => import('../components/course/Layout.vue'), |
||||
redirect: { name: 'CourseList' }, |
||||
name: "courses", |
||||
component: () => import("../components/course/Layout.vue"), |
||||
redirect: { name: "CourseList" }, |
||||
children: [ |
||||
{ |
||||
name: 'CourseList', |
||||
path: '', |
||||
component: () => import('../views/course/List.vue') |
||||
name: "CourseList", |
||||
path: "", |
||||
component: () => import("../views/course/List.vue"), |
||||
}, |
||||
{ |
||||
name: 'CourseCreate', |
||||
path: 'new', |
||||
component: () => import('../views/course/Create.vue') |
||||
name: "CourseCreate", |
||||
path: "new", |
||||
component: () => import("../views/course/Create.vue"), |
||||
}, |
||||
{ |
||||
name: 'CourseUpdate', |
||||
path: ':id/edit', |
||||
component: () => import('../views/course/Update.vue') |
||||
name: "CourseUpdate", |
||||
path: ":id/edit", |
||||
component: () => import("../views/course/Update.vue"), |
||||
}, |
||||
{ |
||||
name: 'CourseShow', |
||||
path: ':id', |
||||
component: () => import('../views/course/Show.vue') |
||||
} |
||||
] |
||||
}; |
||||
name: "CourseShow", |
||||
path: ":id", |
||||
component: () => import("../views/course/Show.vue"), |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,29 +1,29 @@ |
||||
export default { |
||||
path: '/resources/course_categories', |
||||
path: "/resources/course_categories", |
||||
meta: { requiresAuth: true }, |
||||
name: 'course_categories', |
||||
component: () => import('../components/coursecategory/Layout.vue'), |
||||
redirect: { name: 'CourseCategoryList' }, |
||||
name: "course_categories", |
||||
component: () => import("../components/coursecategory/Layout.vue"), |
||||
redirect: { name: "CourseCategoryList" }, |
||||
children: [ |
||||
{ |
||||
name: 'CourseCategoryList', |
||||
path: '', |
||||
component: () => import('../views/coursecategory/List.vue') |
||||
name: "CourseCategoryList", |
||||
path: "", |
||||
component: () => import("../views/coursecategory/List.vue"), |
||||
}, |
||||
{ |
||||
name: 'CourseCategoryCreate', |
||||
path: 'new', |
||||
component: () => import('../views/coursecategory/Create.vue') |
||||
name: "CourseCategoryCreate", |
||||
path: "new", |
||||
component: () => import("../views/coursecategory/Create.vue"), |
||||
}, |
||||
{ |
||||
name: 'CourseCategoryUpdate', |
||||
path: ':id/edit', |
||||
component: () => import('../views/coursecategory/Update.vue') |
||||
name: "CourseCategoryUpdate", |
||||
path: ":id/edit", |
||||
component: () => import("../views/coursecategory/Update.vue"), |
||||
}, |
||||
{ |
||||
name: 'CourseCategoryShow', |
||||
path: ':id', |
||||
component: () => import('../views/coursecategory/Show.vue') |
||||
} |
||||
] |
||||
}; |
||||
name: "CourseCategoryShow", |
||||
path: ":id", |
||||
component: () => import("../views/coursecategory/Show.vue"), |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,25 +1,25 @@ |
||||
export default { |
||||
path: '/resources/ctoolintro/', |
||||
path: "/resources/ctoolintro/", |
||||
meta: { requiresAuth: true, showBreadcrumb: true }, |
||||
name: 'ctoolintro', |
||||
component: () => import('../components/ctoolintro/Layout.vue'), |
||||
redirect: { name: 'ToolIntroList' }, |
||||
name: "ctoolintro", |
||||
component: () => import("../components/ctoolintro/Layout.vue"), |
||||
redirect: { name: "ToolIntroList" }, |
||||
children: [ |
||||
{ |
||||
name: 'ToolIntroCreate', |
||||
path: 'new/:courseTool', |
||||
component: () => import('../views/ctoolintro/Create.vue') |
||||
name: "ToolIntroCreate", |
||||
path: "new/:courseTool", |
||||
component: () => import("../views/ctoolintro/Create.vue"), |
||||
}, |
||||
{ |
||||
name: 'ToolIntroUpdate', |
||||
name: "ToolIntroUpdate", |
||||
//path: ':id/edit',
|
||||
path: 'edit', |
||||
component: () => import('../views/ctoolintro/Update.vue') |
||||
path: "edit", |
||||
component: () => import("../views/ctoolintro/Update.vue"), |
||||
}, |
||||
{ |
||||
name: 'ToolIntroShow', |
||||
path: '', |
||||
component: () => import('../views/ctoolintro/Show.vue') |
||||
} |
||||
] |
||||
}; |
||||
name: "ToolIntroShow", |
||||
path: "", |
||||
component: () => import("../views/ctoolintro/Show.vue"), |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,55 +1,55 @@ |
||||
export default { |
||||
path: '/resources/document/:node/', |
||||
path: "/resources/document/:node/", |
||||
meta: { requiresAuth: true, showBreadcrumb: true }, |
||||
name: 'documents', |
||||
component: () => import('../components/layout/SimpleRouterViewLayout.vue'), |
||||
redirect: { name: 'DocumentsList' }, |
||||
name: "documents", |
||||
component: () => import("../components/layout/SimpleRouterViewLayout.vue"), |
||||
redirect: { name: "DocumentsList" }, |
||||
children: [ |
||||
{ |
||||
name: 'DocumentsList', |
||||
path: '', |
||||
component: () => import('../views/documents/DocumentsList.vue') |
||||
name: "DocumentsList", |
||||
path: "", |
||||
component: () => import("../views/documents/DocumentsList.vue"), |
||||
}, |
||||
{ |
||||
name: 'DocumentsCreate', |
||||
path: 'new', |
||||
component: () => import('../views/documents/Create.vue') |
||||
name: "DocumentsCreate", |
||||
path: "new", |
||||
component: () => import("../views/documents/Create.vue"), |
||||
}, |
||||
{ |
||||
name: 'DocumentsCreateFile', |
||||
path: 'create', |
||||
component: () => import('../views/documents/CreateFile.vue') |
||||
name: "DocumentsCreateFile", |
||||
path: "create", |
||||
component: () => import("../views/documents/CreateFile.vue"), |
||||
}, |
||||
{ |
||||
name: 'DocumentsUploadFile', |
||||
path: 'upload', |
||||
component: () => import('../views/documents/DocumentsUpload.vue') |
||||
name: "DocumentsUploadFile", |
||||
path: "upload", |
||||
component: () => import("../views/documents/DocumentsUpload.vue"), |
||||
}, |
||||
{ |
||||
name: 'DocumentsUpdate', |
||||
name: "DocumentsUpdate", |
||||
//path: ':id/edit',
|
||||
path: 'edit', |
||||
component: () => import('../views/documents/Update.vue') |
||||
path: "edit", |
||||
component: () => import("../views/documents/Update.vue"), |
||||
}, |
||||
{ |
||||
name: 'DocumentsUpdateFile', |
||||
name: "DocumentsUpdateFile", |
||||
//path: ':id/edit',
|
||||
path: 'edit_file', |
||||
component: () => import('../views/documents/UpdateFile.vue') |
||||
path: "edit_file", |
||||
component: () => import("../views/documents/UpdateFile.vue"), |
||||
}, |
||||
{ |
||||
name: 'DocumentsShow', |
||||
path: 'show', |
||||
component: () => import('../views/documents/DocumentShow.vue') |
||||
name: "DocumentsShow", |
||||
path: "show", |
||||
component: () => import("../views/documents/DocumentShow.vue"), |
||||
}, |
||||
{ |
||||
name: 'DocumentForHtmlEditor', |
||||
path: 'manager', |
||||
component: () => import('../views/documents/DocumentForHtmlEditor.vue'), |
||||
name: "DocumentForHtmlEditor", |
||||
path: "manager", |
||||
component: () => import("../views/documents/DocumentForHtmlEditor.vue"), |
||||
meta: { |
||||
layout: 'Empty', |
||||
showBreadcrumb: false |
||||
} |
||||
layout: "Empty", |
||||
showBreadcrumb: false, |
||||
}, |
||||
}, |
||||
] |
||||
}; |
||||
], |
||||
} |
||||
|
@ -1,25 +1,25 @@ |
||||
export default { |
||||
path: '/resources/filemanager', |
||||
path: "/resources/filemanager", |
||||
meta: { requiresAuth: true }, |
||||
component: () => import('../components/filemanager/Layout.vue'), |
||||
component: () => import("../components/filemanager/Layout.vue"), |
||||
children: [ |
||||
{ |
||||
path: 'personal_list/:node?', |
||||
name: 'FileManagerList', |
||||
component: () => import('../views/filemanager/List.vue'), |
||||
path: "personal_list/:node?", |
||||
name: "FileManagerList", |
||||
component: () => import("../views/filemanager/List.vue"), |
||||
meta: { emptyLayout: true }, |
||||
}, |
||||
{ |
||||
name: 'FileManagerUploadFile', |
||||
path: 'upload', |
||||
component: () => import('../views/filemanager/Upload.vue'), |
||||
name: "FileManagerUploadFile", |
||||
path: "upload", |
||||
component: () => import("../views/filemanager/Upload.vue"), |
||||
meta: { emptyLayout: true }, |
||||
}, |
||||
{ |
||||
name: 'CourseDocumentsUploadFile', |
||||
path: '/course-upload', |
||||
name: "CourseDocumentsUploadFile", |
||||
path: "/course-upload", |
||||
meta: { emptyLayout: true }, |
||||
component: () => import('../views/documents/DocumentsUpload.vue') |
||||
component: () => import("../views/documents/DocumentsUpload.vue"), |
||||
}, |
||||
], |
||||
}; |
||||
} |
||||
|
@ -1,36 +1,36 @@ |
||||
export default { |
||||
path: '/resources/pages', |
||||
path: "/resources/pages", |
||||
meta: { requiresAuth: true }, |
||||
name: 'pages', |
||||
component: () => import('../components/page/Layout.vue'), |
||||
redirect: { name: 'PageList' }, |
||||
name: "pages", |
||||
component: () => import("../components/page/Layout.vue"), |
||||
redirect: { name: "PageList" }, |
||||
children: [ |
||||
{ |
||||
name: 'PageList', |
||||
path: '', |
||||
component: () => import('../views/page/List.vue') |
||||
name: "PageList", |
||||
path: "", |
||||
component: () => import("../views/page/List.vue"), |
||||
}, |
||||
{ |
||||
name: 'PageCreate', |
||||
path: 'new', |
||||
component: () => import('../views/page/Create.vue') |
||||
name: "PageCreate", |
||||
path: "new", |
||||
component: () => import("../views/page/Create.vue"), |
||||
}, |
||||
{ |
||||
name: 'PageUpdate', |
||||
name: "PageUpdate", |
||||
//path: ':id/edit',
|
||||
path: 'edit', |
||||
component: () => import('../views/page/Update.vue') |
||||
path: "edit", |
||||
component: () => import("../views/page/Update.vue"), |
||||
}, |
||||
{ |
||||
name: 'PageShow', |
||||
name: "PageShow", |
||||
//path: ':id',
|
||||
path: 'show', |
||||
component: () => import('../views/page/Show.vue') |
||||
path: "show", |
||||
component: () => import("../views/page/Show.vue"), |
||||
}, |
||||
{ |
||||
name: 'PageEditorDemo', |
||||
path: 'editor-demo', |
||||
component: () => import('../views/page/EditorDemo.vue') |
||||
name: "PageEditorDemo", |
||||
path: "editor-demo", |
||||
component: () => import("../views/page/EditorDemo.vue"), |
||||
}, |
||||
] |
||||
}; |
||||
], |
||||
} |
||||
|
@ -1,42 +1,42 @@ |
||||
export default { |
||||
path: '/resources/personal_files', |
||||
path: "/resources/personal_files", |
||||
meta: { requiresAuth: true }, |
||||
name: 'personal_files', |
||||
component: () => import('../views/personalfile/Home.vue'), |
||||
name: "personal_files", |
||||
component: () => import("../views/personalfile/Home.vue"), |
||||
children: [ |
||||
{ |
||||
name: 'personal_files', |
||||
path: ':node/', |
||||
component: () => import('../components/personalfile/Layout.vue'), |
||||
redirect: { name: 'PersonalFileList' }, |
||||
name: "personal_files", |
||||
path: ":node/", |
||||
component: () => import("../components/personalfile/Layout.vue"), |
||||
redirect: { name: "PersonalFileList" }, |
||||
children: [ |
||||
{ |
||||
name: 'PersonalFileList', |
||||
path: '', |
||||
component: () => import('../views/personalfile/List.vue') |
||||
name: "PersonalFileList", |
||||
path: "", |
||||
component: () => import("../views/personalfile/List.vue"), |
||||
}, |
||||
{ |
||||
name: 'PersonalFileUploadFile', |
||||
path: 'upload', |
||||
component: () => import('../views/personalfile/Upload.vue') |
||||
name: "PersonalFileUploadFile", |
||||
path: "upload", |
||||
component: () => import("../views/personalfile/Upload.vue"), |
||||
}, |
||||
{ |
||||
name: 'PersonalFileShared', |
||||
path: 'shared', |
||||
component: () => import('../views/personalfile/Shared.vue') |
||||
name: "PersonalFileShared", |
||||
path: "shared", |
||||
component: () => import("../views/personalfile/Shared.vue"), |
||||
}, |
||||
{ |
||||
name: 'PersonalFileUpdate', |
||||
name: "PersonalFileUpdate", |
||||
//path: ':id/edit',
|
||||
path: 'edit_file', |
||||
component: () => import('../views/personalfile/Update.vue') |
||||
path: "edit_file", |
||||
component: () => import("../views/personalfile/Update.vue"), |
||||
}, |
||||
{ |
||||
name: 'PersonalFileShow', |
||||
path: 'show', |
||||
component: () => import('../views/personalfile/Show.vue') |
||||
} |
||||
] |
||||
name: "PersonalFileShow", |
||||
path: "show", |
||||
component: () => import("../views/personalfile/Show.vue"), |
||||
}, |
||||
], |
||||
}, |
||||
] |
||||
}; |
||||
], |
||||
} |
||||
|
@ -1,18 +1,18 @@ |
||||
export default { |
||||
path: '/social', |
||||
path: "/social", |
||||
meta: { requiresAuth: true }, |
||||
name: 'Social', |
||||
component: () => import('../views/social/SocialLayout.vue'), |
||||
name: "Social", |
||||
component: () => import("../views/social/SocialLayout.vue"), |
||||
children: [ |
||||
{ |
||||
name: 'SocialWall', |
||||
path: ':filterType?', |
||||
component: () => import('../views/social/SocialWall.vue') |
||||
name: "SocialWall", |
||||
path: ":filterType?", |
||||
component: () => import("../views/social/SocialWall.vue"), |
||||
}, |
||||
{ |
||||
name: 'SocialSearch', |
||||
path: 'search', |
||||
component: () => import('../views/social/SocialSearch.vue') |
||||
} |
||||
] |
||||
name: "SocialSearch", |
||||
path: "search", |
||||
component: () => import("../views/social/SocialSearch.vue"), |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,23 +1,23 @@ |
||||
export default { |
||||
path: '/resources/terms-conditions', |
||||
path: "/resources/terms-conditions", |
||||
meta: { requiresAuth: true }, |
||||
name: 'TermsConditions', |
||||
component: () => import('../views/terms/TermsLayout.vue'), |
||||
name: "TermsConditions", |
||||
component: () => import("../views/terms/TermsLayout.vue"), |
||||
children: [ |
||||
{ |
||||
name: 'TermsConditionsList', |
||||
path: '', |
||||
component: () => import('../views/terms/TermsList.vue') |
||||
name: "TermsConditionsList", |
||||
path: "", |
||||
component: () => import("../views/terms/TermsList.vue"), |
||||
}, |
||||
{ |
||||
name: 'TermsConditionsEdit', |
||||
path: 'edit', |
||||
component: () => import('../views/terms/TermsEdit.vue') |
||||
name: "TermsConditionsEdit", |
||||
path: "edit", |
||||
component: () => import("../views/terms/TermsEdit.vue"), |
||||
}, |
||||
{ |
||||
name: 'TermsConditionsView', |
||||
path: 'view', |
||||
component: () => import('../views/terms/Terms.vue') |
||||
} |
||||
] |
||||
name: "TermsConditionsView", |
||||
path: "view", |
||||
component: () => import("../views/terms/Terms.vue"), |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,19 +1,19 @@ |
||||
export default { |
||||
path: '/resources/users', |
||||
path: "/resources/users", |
||||
meta: { requiresAuth: true }, |
||||
name: 'users', |
||||
component: () => import('../components/user/Layout.vue'), |
||||
name: "users", |
||||
component: () => import("../components/user/Layout.vue"), |
||||
children: [ |
||||
{ |
||||
name: 'UserGroupShow', |
||||
name: "UserGroupShow", |
||||
//path: ':id',
|
||||
path: 'show', |
||||
component: () => import('../views/usergroup/Show.vue') |
||||
path: "show", |
||||
component: () => import("../views/usergroup/Show.vue"), |
||||
}, |
||||
{ |
||||
name: 'PersonalData', |
||||
path: 'personal_data', |
||||
component: () => import('../views/user/PersonalData.vue') |
||||
name: "PersonalData", |
||||
path: "personal_data", |
||||
component: () => import("../views/user/PersonalData.vue"), |
||||
}, |
||||
] |
||||
}; |
||||
], |
||||
} |
||||
|
@ -1,37 +1,37 @@ |
||||
export default { |
||||
path: '/resources/usergroups', |
||||
path: "/resources/usergroups", |
||||
meta: { requiresAuth: true }, |
||||
name: 'usergroups', |
||||
component: () => import('../components/usergroup/Layout.vue'), |
||||
redirect: { name: 'UserGroupList' }, |
||||
name: "usergroups", |
||||
component: () => import("../components/usergroup/Layout.vue"), |
||||
redirect: { name: "UserGroupList" }, |
||||
children: [ |
||||
{ |
||||
name: 'UserGroupList', |
||||
path: '', |
||||
component: () => import('../views/usergroup/List.vue') |
||||
name: "UserGroupList", |
||||
path: "", |
||||
component: () => import("../views/usergroup/List.vue"), |
||||
}, |
||||
{ |
||||
name: 'UserGroupShow', |
||||
path: 'show/:group_id?', |
||||
component: () => import('../views/usergroup/Show.vue'), |
||||
props: true |
||||
name: "UserGroupShow", |
||||
path: "show/:group_id?", |
||||
component: () => import("../views/usergroup/Show.vue"), |
||||
props: true, |
||||
}, |
||||
{ |
||||
name: 'UserGroupSearch', |
||||
path: 'search', |
||||
component: () => import('../views/usergroup/Search.vue'), |
||||
name: "UserGroupSearch", |
||||
path: "search", |
||||
component: () => import("../views/usergroup/Search.vue"), |
||||
}, |
||||
{ |
||||
name: 'UserGroupInvite', |
||||
path: 'invite/:group_id?', |
||||
component: () => import('../views/usergroup/Invite.vue'), |
||||
props: true |
||||
name: "UserGroupInvite", |
||||
path: "invite/:group_id?", |
||||
component: () => import("../views/usergroup/Invite.vue"), |
||||
props: true, |
||||
}, |
||||
{ |
||||
name: 'UserGroupDiscussions', |
||||
path: 'show/:group_id/discussions/:discussion_id', |
||||
component: () => import('../components/usergroup/GroupDiscussionTopics.vue'), |
||||
props: true |
||||
} |
||||
] |
||||
}; |
||||
name: "UserGroupDiscussions", |
||||
path: "show/:group_id/discussions/:discussion_id", |
||||
component: () => import("../components/usergroup/GroupDiscussionTopics.vue"), |
||||
props: true, |
||||
}, |
||||
], |
||||
} |
||||
|
@ -1,29 +1,29 @@ |
||||
export default { |
||||
path: '/resources/friends', |
||||
path: "/resources/friends", |
||||
meta: { requiresAuth: true }, |
||||
name: 'friends', |
||||
component: () => import('../components/userreluser/Layout.vue'), |
||||
redirect: { name: 'UserGroupList' }, |
||||
name: "friends", |
||||
component: () => import("../components/userreluser/Layout.vue"), |
||||
redirect: { name: "UserGroupList" }, |
||||
children: [ |
||||
{ |
||||
name: 'UserRelUserList', |
||||
path: '', |
||||
component: () => import('../views/userreluser/UserRelUserList.vue') |
||||
name: "UserRelUserList", |
||||
path: "", |
||||
component: () => import("../views/userreluser/UserRelUserList.vue"), |
||||
}, |
||||
{ |
||||
name: 'UserRelUserAdd', |
||||
path: 'add', |
||||
component: () => import('../views/userreluser/UserRelUserAdd.vue') |
||||
name: "UserRelUserAdd", |
||||
path: "add", |
||||
component: () => import("../views/userreluser/UserRelUserAdd.vue"), |
||||
}, |
||||
{ |
||||
name: 'UserRelUserSearch', |
||||
path: 'search', |
||||
component: () => import('../views/userreluser/UserRelUserSearch.vue') |
||||
name: "UserRelUserSearch", |
||||
path: "search", |
||||
component: () => import("../views/userreluser/UserRelUserSearch.vue"), |
||||
}, |
||||
{ |
||||
name: 'Invitations', |
||||
path: 'invitations', |
||||
component: () => import('../views/userreluser/Invitations.vue') |
||||
} |
||||
] |
||||
}; |
||||
name: "Invitations", |
||||
path: "invitations", |
||||
component: () => import("../views/userreluser/Invitations.vue"), |
||||
}, |
||||
], |
||||
} |
||||
|
Loading…
Reference in new issue