diff options
Diffstat (limited to 'client/src/app/+video-studio/video-studio-routing.module.ts')
-rw-r--r-- | client/src/app/+video-studio/video-studio-routing.module.ts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/client/src/app/+video-studio/video-studio-routing.module.ts b/client/src/app/+video-studio/video-studio-routing.module.ts new file mode 100644 index 000000000..bcd9b79a5 --- /dev/null +++ b/client/src/app/+video-studio/video-studio-routing.module.ts | |||
@@ -0,0 +1,29 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { RouterModule, Routes } from '@angular/router' | ||
3 | import { VideoStudioEditComponent, VideoStudioEditResolver } from './edit' | ||
4 | |||
5 | const videoStudioRoutes: Routes = [ | ||
6 | { | ||
7 | path: '', | ||
8 | children: [ | ||
9 | { | ||
10 | path: 'edit/:videoId', | ||
11 | component: VideoStudioEditComponent, | ||
12 | data: { | ||
13 | meta: { | ||
14 | title: $localize`Studio` | ||
15 | } | ||
16 | }, | ||
17 | resolve: { | ||
18 | video: VideoStudioEditResolver | ||
19 | } | ||
20 | } | ||
21 | ] | ||
22 | } | ||
23 | ] | ||
24 | |||
25 | @NgModule({ | ||
26 | imports: [ RouterModule.forChild(videoStudioRoutes) ], | ||
27 | exports: [ RouterModule ] | ||
28 | }) | ||
29 | export class VideoStudioRoutingModule {} | ||