aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+manage/manage-routing.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+manage/manage-routing.module.ts')
-rw-r--r--client/src/app/+manage/manage-routing.module.ts31
1 files changed, 31 insertions, 0 deletions
diff --git a/client/src/app/+manage/manage-routing.module.ts b/client/src/app/+manage/manage-routing.module.ts
new file mode 100644
index 000000000..14ae4f1e0
--- /dev/null
+++ b/client/src/app/+manage/manage-routing.module.ts
@@ -0,0 +1,31 @@
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3import { VideoChannelCreateComponent } from './video-channel-edit/video-channel-create.component'
4import { VideoChannelUpdateComponent } from './video-channel-edit/video-channel-update.component'
5
6const 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})
31export class ManageRoutingModule {}