From 91219e66c4b57b62ccdad7d944100fad3fdf6c26 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Jun 2018 10:40:34 +0200 Subject: Redirect comment links to the watch page --- client/src/app/videos/videos-routing.module.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/src/app') diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 66153e033..da786c0f9 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts @@ -72,6 +72,10 @@ const videosRoutes: Routes = [ } } }, + { + path: 'watch/:uuid/comments/:commentId', + redirectTo: 'watch/:uuid' + }, { path: 'watch/:uuid', loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule', -- cgit v1.2.3