]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+video-studio/video-studio-routing.module.ts
Support videos stats in client
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-studio / video-studio-routing.module.ts
CommitLineData
92e66e04
C
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
384ba8b7
C
3import { VideoResolver } from '@app/shared/shared-main'
4import { VideoStudioEditComponent } from './edit'
92e66e04
C
5
6const 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})
30export class VideoStudioRoutingModule {}