1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { VideoChannelPlaylistsComponent } from './video-channel-playlists/video-channel-playlists.component'
4 import { VideoChannelVideosComponent } from './video-channel-videos/video-channel-videos.component'
5 import { VideoChannelsComponent } from './video-channels.component'
7 const videoChannelsRoutes: Routes = [
9 path: ':videoChannelName',
10 component: VideoChannelsComponent,
19 component: VideoChannelVideosComponent,
22 title: $localize`Video channel videos`
26 key: 'video-channel-videos-list'
31 path: 'video-playlists',
32 component: VideoChannelPlaylistsComponent,
35 title: $localize`Video channel playlists`
44 imports: [ RouterModule.forChild(videoChannelsRoutes) ],
45 exports: [ RouterModule ]
47 export class VideoChannelsRoutingModule {}