aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/video-abuses/video-abuses.routes.ts
blob: 1f19d7885001d0f6c7fd901a02265153c678a05d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import { Routes } from '@angular/router';

import { VideoAbusesComponent } from './video-abuses.component';
import { VideoAbuseListComponent } from './video-abuse-list';

export const VideoAbusesRoutes: Routes = [
  {
    path: 'video-abuses',
    component: VideoAbusesComponent
    ,
    children: [
      {
        path: '',
        redirectTo: 'list',
        pathMatch: 'full'
      },
      {
        path: 'list',
        component: VideoAbuseListComponent,
        data: {
          meta: {
            title: 'Video abuses list'
          }
        }
      }
    ]
  }
];