]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Redirect comment links to the watch page
authorChocobozzz <me@florianbigard.com>
Thu, 14 Jun 2018 08:40:34 +0000 (10:40 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 14 Jun 2018 08:40:34 +0000 (10:40 +0200)
client/src/app/videos/videos-routing.module.ts

index 66153e0337a354a2c4db7f1a3fa7d52c3066975b..da786c0f98a1c2fe6ff211c7b6717691c816ee97 100644 (file)
@@ -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',