]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - 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
CommitLineData
17119e4a
C
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
17119e4a
C
3import { MyVideoChannelsComponent } from './my-video-channels.component'
4
5const myVideoChannelsRoutes: Routes = [
6 {
7 path: '',
8 component: MyVideoChannelsComponent,
9 data: {
10 meta: {
11 title: $localize`My video channels`
12 }
13 }
17119e4a
C
14 }
15]
16
17@NgModule({
18 imports: [ RouterModule.forChild(myVideoChannelsRoutes) ],
19 exports: [ RouterModule ]
20})
21export class MyVideoChannelsRoutingModule {}