Changeset View
Changeset View
Standalone View
Standalone View
src/resources/js/user/routes.js
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | const routes = [ | ||||
}, | }, | ||||
{ | { | ||||
path: '/file/:file', | path: '/file/:file', | ||||
name: 'file', | name: 'file', | ||||
component: FileInfoComponent, | component: FileInfoComponent, | ||||
meta: { requiresAuth: true /*, perm: 'files' */ } | meta: { requiresAuth: true /*, perm: 'files' */ } | ||||
}, | }, | ||||
{ | { | ||||
path: '/files', | path: '/files/:parent?', | ||||
name: 'files', | name: 'files', | ||||
component: FileListComponent, | component: FileListComponent, | ||||
meta: { requiresAuth: true, perm: 'files' } | meta: { requiresAuth: true, perm: 'files' } | ||||
}, | }, | ||||
{ | { | ||||
path: '/login', | path: '/login', | ||||
name: 'login', | name: 'login', | ||||
component: LoginComponent | component: LoginComponent | ||||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |