]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/video-watch-routing.module.ts
Add to playlist dropdown
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / video-watch-routing.module.ts
index bdd4f945e86798baab1434bcc0b6b8aa6386ebe9..0d78090445f2c1a802d574fb0e55c07db4c3b186 100644 (file)
@@ -7,7 +7,16 @@ import { VideoWatchComponent } from './video-watch.component'
 
 const videoWatchRoutes: Routes = [
   {
-    path: '',
+    path: 'playlist/:uuid',
+    component: VideoWatchComponent,
+    canActivate: [ MetaGuard ]
+  },
+  {
+    path: ':uuid/comments/:commentId',
+    redirectTo: ':uuid'
+  },
+  {
+    path: ':uuid',
     component: VideoWatchComponent,
     canActivate: [ MetaGuard ]
   }