From f6a043df74bc755de8e658ba76a4e55980b96f66 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 25 Jan 2018 19:01:13 +0100 Subject: Improve video upload guard a little bit --- client/src/app/videos/+video-edit/video-add-routing.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/app/videos/+video-edit/video-add-routing.module.ts') 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' import { MetaGuard } from '@ngx-meta/core' import { LoginGuard } from '../../core' -import { CanDeactivateGuard } from '../../shared/can-deactivate-guard.service' +import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' import { VideoAddComponent } from './video-add.component' const videoAddRoutes: Routes = [ @@ -12,7 +12,7 @@ const videoAddRoutes: Routes = [ path: '', component: VideoAddComponent, canActivate: [ MetaGuard, LoginGuard ], - canDeactivate: [CanDeactivateGuard] + canDeactivate: [ CanDeactivateGuard ] } ] -- cgit v1.2.3