diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-09 14:28:44 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-09 14:28:44 +0200 |
commit | a685e25ca05f08ad1b3f7fbaccc8744727bd8d27 (patch) | |
tree | e50fbc2f260a0017113c4668c3c0f3d2fd76ab87 /client/src/app/videos/+video-edit/video-add-routing.module.ts | |
parent | 2ed6a0aedc2d2f6b1ac2fd9a1ac137772831f713 (diff) | |
download | PeerTube-a685e25ca05f08ad1b3f7fbaccc8744727bd8d27.tar.gz PeerTube-a685e25ca05f08ad1b3f7fbaccc8744727bd8d27.tar.zst PeerTube-a685e25ca05f08ad1b3f7fbaccc8744727bd8d27.zip |
Try to optimize frontend
Diffstat (limited to 'client/src/app/videos/+video-edit/video-add-routing.module.ts')
-rw-r--r-- | client/src/app/videos/+video-edit/video-add-routing.module.ts | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/client/src/app/videos/+video-edit/video-add-routing.module.ts b/client/src/app/videos/+video-edit/video-add-routing.module.ts new file mode 100644 index 000000000..9e8fa4acc --- /dev/null +++ b/client/src/app/videos/+video-edit/video-add-routing.module.ts | |||
@@ -0,0 +1,20 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { RouterModule, Routes } from '@angular/router' | ||
3 | |||
4 | import { MetaGuard } from '@ngx-meta/core' | ||
5 | |||
6 | import { VideoAddComponent } from './video-add.component' | ||
7 | |||
8 | const videoAddRoutes: Routes = [ | ||
9 | { | ||
10 | path: '', | ||
11 | component: VideoAddComponent, | ||
12 | canActivateChild: [ MetaGuard ] | ||
13 | } | ||
14 | ] | ||
15 | |||
16 | @NgModule({ | ||
17 | imports: [ RouterModule.forChild(videoAddRoutes) ], | ||
18 | exports: [ RouterModule ] | ||
19 | }) | ||
20 | export class VideoAddRoutingModule {} | ||