]>
Commit | Line | Data |
---|---|---|
35bf0c83 C |
1 | import { Routes } from '@angular/router' |
2 | ||
3 | import { VideoBlacklistComponent } from './video-blacklist.component' | |
4 | import { VideoBlacklistListComponent } from './video-blacklist-list' | |
5 | ||
6 | export const VideoBlacklistRoutes: Routes = [ | |
7 | { | |
8 | path: 'video-blacklist', | |
9 | component: VideoBlacklistComponent, | |
10 | children: [ | |
11 | { | |
12 | path: '', | |
13 | redirectTo: 'list', | |
14 | pathMatch: 'full' | |
15 | }, | |
16 | { | |
17 | path: 'list', | |
18 | component: VideoBlacklistListComponent, | |
19 | data: { | |
20 | meta: { | |
21 | title: 'Blacklisted videos' | |
22 | } | |
23 | } | |
24 | } | |
25 | ] | |
26 | } | |
27 | ] |