]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+admin/video-abuses/video-abuses.routes.ts
Client: little refractoring
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / video-abuses / video-abuses.routes.ts
CommitLineData
11ac88de
C
1import { Routes } from '@angular/router';
2
3import { VideoAbusesComponent } from './video-abuses.component';
4import { VideoAbuseListComponent } from './video-abuse-list';
5
6export const VideoAbusesRoutes: Routes = [
7 {
1f0215a9
C
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'
11ac88de
C
23 }
24 }
1f0215a9
C
25 }
26 ]
27 }
11ac88de 28];