diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 16:58:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:24:32 +0100 |
commit | 92e66e04f7f51d37b465cff442ce47f6d6d7cadd (patch) | |
tree | 4475c5c601c0f6673ca56afba5b7f70a4fae4ec3 /client/src/app/+video-studio/video-studio-routing.module.ts | |
parent | 1808a1f8e4b7b102823492a2007a46929aebf189 (diff) | |
download | PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip |
Rename studio to editor
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 {} | ||