]>
Commit | Line | Data |
---|---|---|
92e66e04 C |
1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | |
384ba8b7 C |
3 | import { VideoResolver } from '@app/shared/shared-main' |
4 | import { VideoStudioEditComponent } from './edit' | |
92e66e04 C |
5 | |
6 | const videoStudioRoutes: Routes = [ | |
7 | { | |
8 | path: '', | |
9 | children: [ | |
10 | { | |
11 | path: 'edit/:videoId', | |
12 | component: VideoStudioEditComponent, | |
13 | data: { | |
14 | meta: { | |
15 | title: $localize`Studio` | |
16 | } | |
17 | }, | |
18 | resolve: { | |
384ba8b7 | 19 | video: VideoResolver |
92e66e04 C |
20 | } |
21 | } | |
22 | ] | |
23 | } | |
24 | ] | |
25 | ||
26 | @NgModule({ | |
27 | imports: [ RouterModule.forChild(videoStudioRoutes) ], | |
28 | exports: [ RouterModule ] | |
29 | }) | |
30 | export class VideoStudioRoutingModule {} |