X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2F%2Bvideo-watch%2Fvideo-watch-routing.module.ts;h=ce9250bdc756c8d80ba72a7e935c6e39372769b2;hb=44efbebac43c2bac75744399dc1176dce7ba3277;hp=72f76ab468fc080bdc2b65c642547fd8e851fea7;hpb=d5b53822ae7e1660cebe3a35be5ce76ea73dc1b9;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 72f76ab46..ce9250bdc 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,12 +7,16 @@ import { VideoWatchComponent } from './video-watch.component' const videoWatchRoutes: Routes = [ { - path: '', + path: 'playlist/:playlistId', component: VideoWatchComponent, canActivate: [ MetaGuard ] }, { - path: 'comment/:commentId', + path: ':videoId/comments/:commentId', + redirectTo: ':videoId' + }, + { + path: ':videoId', component: VideoWatchComponent, canActivate: [ MetaGuard ] }