aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-14 10:40:34 +0200
committerChocobozzz <me@florianbigard.com>2018-06-14 10:40:34 +0200
commit91219e66c4b57b62ccdad7d944100fad3fdf6c26 (patch)
treed7a66d739198e0264d692552d6d878d5e7aaf4d5 /client/src
parentb314f983f00d382fd6ce040bc4280039f0f687a3 (diff)
downloadPeerTube-91219e66c4b57b62ccdad7d944100fad3fdf6c26.tar.gz
PeerTube-91219e66c4b57b62ccdad7d944100fad3fdf6c26.tar.zst
PeerTube-91219e66c4b57b62ccdad7d944100fad3fdf6c26.zip
Redirect comment links to the watch page
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/videos/videos-routing.module.ts4
1 files changed, 4 insertions, 0 deletions
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
@@ -73,6 +73,10 @@ const videosRoutes: Routes = [
73 } 73 }
74 }, 74 },
75 { 75 {
76 path: 'watch/:uuid/comments/:commentId',
77 redirectTo: 'watch/:uuid'
78 },
79 {
76 path: 'watch/:uuid', 80 path: 'watch/:uuid',
77 loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule', 81 loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule',
78 data: { 82 data: {