]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+admin/video-blacklist/video-blacklist.routes.ts
682b6f8bd843fda1ac99fe62a783d4c61799656b
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / video-blacklist / video-blacklist.routes.ts
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 ]