X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch-routing.module.ts;h=0d78090445f2c1a802d574fb0e55c07db4c3b186;hb=f0a3988066f72a28bb44520af072f18d91d77dde;hp=bdd4f945e86798baab1434bcc0b6b8aa6386ebe9;hpb=830b4faff15fb9c81d88e8e69fcdf94aad32bef8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/+video-watch/video-watch-routing.module.ts b/client/src/app/videos/+video-watch/video-watch-routing.module.ts index bdd4f945e..0d7809044 100644 --- a/client/src/app/videos/+video-watch/video-watch-routing.module.ts +++ b/client/src/app/videos/+video-watch/video-watch-routing.module.ts @@ -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 ] }