aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+manage/manage-routing.module.ts
blob: 14ae4f1e0fad252cea1c0b7a20442bba6ec2f4ed (plain) (tree)






























                                                                                                 
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { VideoChannelCreateComponent } from './video-channel-edit/video-channel-create.component'
import { VideoChannelUpdateComponent } from './video-channel-edit/video-channel-update.component'

const manageRoutes: Routes = [
  {
    path: 'create',
    component: VideoChannelCreateComponent,
    data: {
      meta: {
        title: $localize`Create a new video channel`
      }
    }
  },
  {
    path: 'update/:videoChannelName',
    component: VideoChannelUpdateComponent,
    data: {
      meta: {
        title: $localize`Update video channel`
      }
    }
  }
]

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