blob: 4c08631a1f4309980a78b84731e794cedaa8e376 (
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
30
|
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { VideoResolver } from '@app/shared/shared-main'
import { VideoStudioEditComponent } from './edit'
const videoStudioRoutes: Routes = [
{
path: '',
children: [
{
path: 'edit/:videoId',
component: VideoStudioEditComponent,
data: {
meta: {
title: $localize`Studio`
}
},
resolve: {
video: VideoResolver
}
}
]
}
]
@NgModule({
imports: [ RouterModule.forChild(videoStudioRoutes) ],
exports: [ RouterModule ]
})
export class VideoStudioRoutingModule {}
|