From c6de16eb1d243610472316ea080348af4c3084ba Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jun 2016 18:14:01 +0200 Subject: Fix redirection after the upload of a video --- client/src/app/videos/video-add/video-add.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/app/videos/video-add/video-add.component.ts b/client/src/app/videos/video-add/video-add.component.ts index 7d8fbdc29..342935e36 100644 --- a/client/src/app/videos/video-add/video-add.component.ts +++ b/client/src/app/videos/video-add/video-add.component.ts @@ -126,7 +126,7 @@ export class VideoAddComponent implements OnInit { console.log('Video uploaded.'); // Print all the videos once it's finished - this.router.navigate(['VideosList']); + this.router.navigate(['/videos/list']); }; item.onError = (response: string, status: number) => { -- cgit v1.2.3