]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-library/+my-video-channels/my-video-channels-routing.module.ts
give admins access to edit all channels
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / +my-video-channels / my-video-channels-routing.module.ts
1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { MyVideoChannelsComponent } from './my-video-channels.component'
4
5 const myVideoChannelsRoutes: Routes = [
6 {
7 path: '',
8 component: MyVideoChannelsComponent,
9 data: {
10 meta: {
11 title: $localize`My video channels`
12 }
13 }
14 }
15 ]
16
17 @NgModule({
18 imports: [ RouterModule.forChild(myVideoChannelsRoutes) ],
19 exports: [ RouterModule ]
20 })
21 export class MyVideoChannelsRoutingModule {}