]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+admin/video-abuses/video-abuses.routes.ts
Use typescript standard and lint all files
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / video-abuses / video-abuses.routes.ts
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 title: 'Video abuses list'
23 }
24 }
25 }
26 ]
27 }
28 ]