aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/video-abuses/video-abuses.routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+admin/video-abuses/video-abuses.routes.ts')
-rw-r--r--client/src/app/+admin/video-abuses/video-abuses.routes.ts33
1 files changed, 0 insertions, 33 deletions
diff --git a/client/src/app/+admin/video-abuses/video-abuses.routes.ts b/client/src/app/+admin/video-abuses/video-abuses.routes.ts
deleted file mode 100644
index 68b756059..000000000
--- a/client/src/app/+admin/video-abuses/video-abuses.routes.ts
+++ /dev/null
@@ -1,33 +0,0 @@
1import { Routes } from '@angular/router'
2
3import { UserRightGuard } from '../../core'
4import { UserRight } from '../../../../../shared'
5import { VideoAbusesComponent } from './video-abuses.component'
6import { VideoAbuseListComponent } from './video-abuse-list'
7
8export const VideoAbusesRoutes: Routes = [
9 {
10 path: 'video-abuses',
11 component: VideoAbusesComponent,
12 canActivate: [ UserRightGuard ],
13 data: {
14 userRight: UserRight.MANAGE_VIDEO_ABUSES
15 },
16 children: [
17 {
18 path: '',
19 redirectTo: 'list',
20 pathMatch: 'full'
21 },
22 {
23 path: 'list',
24 component: VideoAbuseListComponent,
25 data: {
26 meta: {
27 title: 'Video abuses list'
28 }
29 }
30 }
31 ]
32 }
33]