aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-add-routing.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-25 19:01:13 +0100
committerChocobozzz <me@florianbigard.com>2018-01-25 19:09:47 +0100
commitf6a043df74bc755de8e658ba76a4e55980b96f66 (patch)
treefb2640669f59a89bd2f2d8ab52d296425a4c55ed /client/src/app/videos/+video-edit/video-add-routing.module.ts
parent94a5ff8a4a75d75bb9df542a39ce8769e7a7e6a4 (diff)
downloadPeerTube-f6a043df74bc755de8e658ba76a4e55980b96f66.tar.gz
PeerTube-f6a043df74bc755de8e658ba76a4e55980b96f66.tar.zst
PeerTube-f6a043df74bc755de8e658ba76a4e55980b96f66.zip
Improve video upload guard a little bit
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.ts4
1 files changed, 2 insertions, 2 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
index 9541a2bd1..e0fef7158 100644
--- a/client/src/app/videos/+video-edit/video-add-routing.module.ts
+++ b/client/src/app/videos/+video-edit/video-add-routing.module.ts
@@ -4,7 +4,7 @@ import { RouterModule, Routes } from '@angular/router'
4import { MetaGuard } from '@ngx-meta/core' 4import { MetaGuard } from '@ngx-meta/core'
5 5
6import { LoginGuard } from '../../core' 6import { LoginGuard } from '../../core'
7import { CanDeactivateGuard } from '../../shared/can-deactivate-guard.service' 7import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service'
8import { VideoAddComponent } from './video-add.component' 8import { VideoAddComponent } from './video-add.component'
9 9
10const videoAddRoutes: Routes = [ 10const videoAddRoutes: Routes = [
@@ -12,7 +12,7 @@ const videoAddRoutes: Routes = [
12 path: '', 12 path: '',
13 component: VideoAddComponent, 13 component: VideoAddComponent,
14 canActivate: [ MetaGuard, LoginGuard ], 14 canActivate: [ MetaGuard, LoginGuard ],
15 canDeactivate: [CanDeactivateGuard] 15 canDeactivate: [ CanDeactivateGuard ]
16 } 16 }
17] 17]
18 18