]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+manage/manage-routing.module.ts
Fix video channels quick filter overflow
[github/Chocobozzz/PeerTube.git] / client / src / app / +manage / manage-routing.module.ts
1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { VideoChannelCreateComponent } from './video-channel-edit/video-channel-create.component'
4 import { VideoChannelUpdateComponent } from './video-channel-edit/video-channel-update.component'
5
6 const manageRoutes: Routes = [
7 {
8 path: 'create',
9 component: VideoChannelCreateComponent,
10 data: {
11 meta: {
12 title: $localize`Create a new video channel`
13 }
14 }
15 },
16 {
17 path: 'update/:videoChannelName',
18 component: VideoChannelUpdateComponent,
19 data: {
20 meta: {
21 title: $localize`Update video channel`
22 }
23 }
24 }
25 ]
26
27 @NgModule({
28 imports: [ RouterModule.forChild(manageRoutes) ],
29 exports: [ RouterModule ]
30 })
31 export class ManageRoutingModule {}