From 92e66e04f7f51d37b465cff442ce47f6d6d7cadd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Mar 2022 16:58:49 +0100 Subject: Rename studio to editor --- .../+video-studio/video-studio-routing.module.ts | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 client/src/app/+video-studio/video-studio-routing.module.ts (limited to 'client/src/app/+video-studio/video-studio-routing.module.ts') 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 @@ +import { NgModule } from '@angular/core' +import { RouterModule, Routes } from '@angular/router' +import { VideoStudioEditComponent, VideoStudioEditResolver } from './edit' + +const videoStudioRoutes: Routes = [ + { + path: '', + children: [ + { + path: 'edit/:videoId', + component: VideoStudioEditComponent, + data: { + meta: { + title: $localize`Studio` + } + }, + resolve: { + video: VideoStudioEditResolver + } + } + ] + } +] + +@NgModule({ + imports: [ RouterModule.forChild(videoStudioRoutes) ], + exports: [ RouterModule ] +}) +export class VideoStudioRoutingModule {} -- cgit v1.2.3