1 import { Routes } from '@angular/router'
3 import { UserRightGuard } from '../../core'
4 import { UserRight } from '../../../../../shared'
5 import { VideoAbusesComponent } from './video-abuses.component'
6 import { VideoAbuseListComponent } from './video-abuse-list'
8 export const VideoAbusesRoutes: Routes = [
11 component: VideoAbusesComponent,
12 canActivate: [ UserRightGuard ],
14 userRight: UserRight.MANAGE_VIDEO_ABUSES
24 component: VideoAbuseListComponent,
27 title: 'Video abuses list'