]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+video-studio/video-studio-routing.module.ts
bcd9b79a5cb548b0e44f029e7c761b48fce36c33
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-studio / video-studio-routing.module.ts
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 {}