diff options
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.ts | 28 |
1 files changed, 28 insertions, 0 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 new file mode 100644 index 000000000..26a761887 --- /dev/null +++ b/client/src/app/admin/video-abuses/video-abuses.routes.ts | |||
@@ -0,0 +1,28 @@ | |||
1 | import { Routes } from '@angular/router'; | ||
2 | |||
3 | import { VideoAbusesComponent } from './video-abuses.component'; | ||
4 | import { VideoAbuseListComponent } from './video-abuse-list'; | ||
5 | |||
6 | export const VideoAbusesRoutes: Routes = [ | ||
7 | { | ||
8 | path: 'video-abuses', | ||
9 | component: VideoAbusesComponent | ||
10 | , | ||
11 | children: [ | ||
12 | { | ||
13 | path: '', | ||
14 | redirectTo: 'list', | ||
15 | pathMatch: 'full' | ||
16 | }, | ||
17 | { | ||
18 | path: 'list', | ||
19 | component: VideoAbuseListComponent, | ||
20 | data: { | ||
21 | meta: { | ||
22 | titleSuffix: ' - Video abuses list' | ||
23 | } | ||
24 | } | ||
25 | } | ||
26 | ] | ||
27 | } | ||
28 | ]; | ||