]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-library/+my-video-channels/my-video-channels-routing.module.ts
Update translations
[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 path: 'create',
17 redirectTo: '/manage/create'
18 },
19 {
20 path: 'update/:videoChannelName',
21 redirectTo: '/manage/update/:videoChannelName'
22 }
23 ]
24
25 @NgModule({
26 imports: [ RouterModule.forChild(myVideoChannelsRoutes) ],
27 exports: [ RouterModule ]
28 })
29 export class MyVideoChannelsRoutingModule {}