aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels-routing.module.ts
blob: 3aa3e360f7895f24c09afb3c12c5ad9a19e0e0bf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                                                  
                                                







                                                    
                                                  







                                                    
                                              









                                                                   
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MyAccountVideoChannelUpdateComponent } from './my-account-video-channel-update.component'
import { MyAccountVideoChannelCreateComponent } from './my-account-video-channel-create.component'
import { MyAccountVideoChannelsComponent } from './my-account-video-channels.component'

const myAccountVideoChannelsRoutes: Routes = [
  {
    path: '',
    component: MyAccountVideoChannelsComponent,
    data: {
      meta: {
        title: $localize`Account video channels`
      }
    }
  },
  {
    path: 'create',
    component: MyAccountVideoChannelCreateComponent,
    data: {
      meta: {
        title: $localize`Create new video channel`
      }
    }
  },
  {
    path: 'update/:videoChannelId',
    component: MyAccountVideoChannelUpdateComponent,
    data: {
      meta: {
        title: $localize`Update video channel`
      }
    }
  }
]

@NgModule({
  imports: [ RouterModule.forChild(myAccountVideoChannelsRoutes) ],
  exports: [ RouterModule ]
})
export class MyAccountVideoChannelsRoutingModule {}