Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/assets/vue/router/documents.js

35 lines
845 B

export default {
5 years ago
path: '/resources/document/:node/',
meta: { requiresAuth: true },
name: 'documents',
component: () => import('../components/documents/Layout'),
redirect: { name: 'DocumentsList' },
children: [
{
name: 'DocumentsList',
path: '',
component: () => import('../views/documents/List')
},
{
name: 'DocumentsCreate',
path: 'new',
component: () => import('../views/documents/Create')
},
{
name: 'DocumentsCreateFile',
5 years ago
path: 'new_file',
component: () => import('../views/documents/CreateFile')
},
{
name: 'DocumentsUpdate',
path: ':id/edit',
component: () => import('../views/documents/Update')
},
{
name: 'DocumentsShow',
path: ':id',
component: () => import('../views/documents/Show')
}
]
};