]>
Commit | Line | Data |
---|---|---|
6541071b RK |
1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | |
3 | import { MyAccountVideoChannelUpdateComponent } from './my-account-video-channel-update.component' | |
4 | import { MyAccountVideoChannelCreateComponent } from './my-account-video-channel-create.component' | |
5 | import { MyAccountVideoChannelsComponent } from './my-account-video-channels.component' | |
6 | ||
7 | const myAccountVideoChannelsRoutes: Routes = [ | |
8 | { | |
9 | path: '', | |
10 | component: MyAccountVideoChannelsComponent, | |
11 | data: { | |
12 | meta: { | |
13 | title: 'Account video channels' | |
14 | } | |
15 | } | |
16 | }, | |
17 | { | |
18 | path: 'create', | |
19 | component: MyAccountVideoChannelCreateComponent, | |
20 | data: { | |
21 | meta: { | |
22 | title: 'Create new video channel' | |
23 | } | |
24 | } | |
25 | }, | |
26 | { | |
27 | path: 'update/:videoChannelId', | |
28 | component: MyAccountVideoChannelUpdateComponent, | |
29 | data: { | |
30 | meta: { | |
31 | title: 'Update video channel' | |
32 | } | |
33 | } | |
34 | } | |
35 | ] | |
36 | ||
37 | @NgModule({ | |
38 | imports: [ RouterModule.forChild(myAccountVideoChannelsRoutes) ], | |
39 | exports: [ RouterModule ] | |
40 | }) | |
41 | export class MyAccountVideoChannelsRoutingModule {} |