diff options
Diffstat (limited to 'client/src/app/+video-studio')
-rw-r--r-- | client/src/app/+video-studio/video-studio-routing.module.ts | 2 |
1 files changed, 2 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 index 4c08631a1..9d276be7c 100644 --- a/client/src/app/+video-studio/video-studio-routing.module.ts +++ b/client/src/app/+video-studio/video-studio-routing.module.ts | |||
@@ -1,11 +1,13 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | import { LoginGuard } from '@app/core' | ||
3 | import { VideoResolver } from '@app/shared/shared-main' | 4 | import { VideoResolver } from '@app/shared/shared-main' |
4 | import { VideoStudioEditComponent } from './edit' | 5 | import { VideoStudioEditComponent } from './edit' |
5 | 6 | ||
6 | const videoStudioRoutes: Routes = [ | 7 | const videoStudioRoutes: Routes = [ |
7 | { | 8 | { |
8 | path: '', | 9 | path: '', |
10 | canActivateChild: [ LoginGuard ], | ||
9 | children: [ | 11 | children: [ |
10 | { | 12 | { |
11 | path: 'edit/:videoId', | 13 | path: 'edit/:videoId', |