1 import { Routes } from '@angular/router'
2 import { UserRightGuard } from '@app/core'
3 import { UserRight } from '@shared/models'
4 import { VideoListComponent } from './video-list.component'
6 export const VideosRoutes: Routes = [
9 canActivate: [ UserRightGuard ],
11 userRight: UserRight.SEE_ALL_VIDEOS
21 component: VideoListComponent,
24 title: $localize`Videos list`