From: Chocobozzz Date: Thu, 14 Jun 2018 08:40:34 +0000 (+0200) Subject: Redirect comment links to the watch page X-Git-Tag: v1.0.0-beta.9~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=91219e66c4b57b62ccdad7d944100fad3fdf6c26;p=oweals%2Fpeertube.git Redirect comment links to the watch page --- 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',