]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+video-studio/video-studio-routing.module.ts
Increase margin between upload and search inputs
[github/Chocobozzz/PeerTube.git] / client / src / app / +video-studio / video-studio-routing.module.ts
index 4c08631a1f4309980a78b84731e794cedaa8e376..9d276be7c813833bc39b74575db56c72c536fff8 100644 (file)
@@ -1,11 +1,13 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
+import { LoginGuard } from '@app/core'
 import { VideoResolver } from '@app/shared/shared-main'
 import { VideoStudioEditComponent } from './edit'
 
 const videoStudioRoutes: Routes = [
   {
     path: '',
+    canActivateChild: [ LoginGuard ],
     children: [
       {
         path: 'edit/:videoId',