aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-library/+my-video-channels/my-video-channels-routing.module.ts
blob: b4962ed356fd25ca0a86c97b21508ef819d5fd0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MyVideoChannelsComponent } from './my-video-channels.component'

const myVideoChannelsRoutes: Routes = [
  {
    path: '',
    component: MyVideoChannelsComponent,
    data: {
      meta: {
        title: $localize`My video channels`
      }
    }
  },
  {
    path: 'create',
    redirectTo: '/manage/create'
  },
  {
    path: 'update/:videoChannelName',
    redirectTo: '/manage/update/:videoChannelName'
  }
]

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