]>
Commit | Line | Data |
---|---|---|
11ac88de C |
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 | ]; |