From 308c427551c3e20cd9172be58636d8c178f5ae70 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 16 Jul 2018 18:09:31 +0200 Subject: Use a resolver when updating the video --- client/src/app/videos/+video-edit/video-update.module.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/src/app/videos/+video-edit/video-update.module.ts') diff --git a/client/src/app/videos/+video-edit/video-update.module.ts b/client/src/app/videos/+video-edit/video-update.module.ts index 3b45c72a5..4f5d72cec 100644 --- a/client/src/app/videos/+video-edit/video-update.module.ts +++ b/client/src/app/videos/+video-edit/video-update.module.ts @@ -3,6 +3,7 @@ import { SharedModule } from '../../shared' import { VideoEditModule } from './shared/video-edit.module' import { VideoUpdateRoutingModule } from './video-update-routing.module' import { VideoUpdateComponent } from './video-update.component' +import { VideoUpdateResolver } from '@app/videos/+video-edit/video-update.resolver' @NgModule({ imports: [ @@ -19,6 +20,8 @@ import { VideoUpdateComponent } from './video-update.component' VideoUpdateComponent ], - providers: [ ] + providers: [ + VideoUpdateResolver + ] }) export class VideoUpdateModule { } -- cgit v1.2.3