1 import { Routes } from '@angular/router'
3 import { UserRightGuard } from '../../core'
4 import { UserRight } from '../../../../../shared'
5 import { VideoBlacklistComponent } from './video-blacklist.component'
6 import { VideoBlacklistListComponent } from './video-blacklist-list'
8 export const VideoBlacklistRoutes: Routes = [
10 path: 'video-blacklist',
11 component: VideoBlacklistComponent,
12 canActivate: [ UserRightGuard ],
14 userRight: UserRight.MANAGE_VIDEO_BLACKLIST
24 component: VideoBlacklistListComponent,
27 title: 'Blacklisted videos'