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'
7 const myAccountVideoChannelsRoutes: Routes = [
10 component: MyAccountVideoChannelsComponent,
13 title: 'Account video channels'
19 component: MyAccountVideoChannelCreateComponent,
22 title: 'Create new video channel'
27 path: 'update/:videoChannelId',
28 component: MyAccountVideoChannelUpdateComponent,
31 title: 'Update video channel'
38 imports: [ RouterModule.forChild(myAccountVideoChannelsRoutes) ],
39 exports: [ RouterModule ]
41 export class MyAccountVideoChannelsRoutingModule {}