diff options
author | Chocobozzz <me@florianbigard.com> | 2019-03-13 14:18:58 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-03-18 11:17:59 +0100 |
commit | e2f01c47e08d26a30ad47068d195b3d21d0df8a1 (patch) | |
tree | 21f18ed462d313bfb4ba7a1b5221fdb6b2c35bc1 /client/src/app/videos/+video-watch/video-watch-routing.module.ts | |
parent | 15e9d5ca39e0b792f61453fbf3885a0fc446afa7 (diff) | |
download | PeerTube-e2f01c47e08d26a30ad47068d195b3d21d0df8a1.tar.gz PeerTube-e2f01c47e08d26a30ad47068d195b3d21d0df8a1.tar.zst PeerTube-e2f01c47e08d26a30ad47068d195b3d21d0df8a1.zip |
Playlist support in watch page
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch-routing.module.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch-routing.module.ts | 8 |
1 files changed, 4 insertions, 4 deletions
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 0d7809044..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,16 +7,16 @@ import { VideoWatchComponent } from './video-watch.component' | |||
7 | 7 | ||
8 | const videoWatchRoutes: Routes = [ | 8 | const videoWatchRoutes: Routes = [ |
9 | { | 9 | { |
10 | path: 'playlist/:uuid', | 10 | path: 'playlist/:playlistId', |
11 | component: VideoWatchComponent, | 11 | component: VideoWatchComponent, |
12 | canActivate: [ MetaGuard ] | 12 | canActivate: [ MetaGuard ] |
13 | }, | 13 | }, |
14 | { | 14 | { |
15 | path: ':uuid/comments/:commentId', | 15 | path: ':videoId/comments/:commentId', |
16 | redirectTo: ':uuid' | 16 | redirectTo: ':videoId' |
17 | }, | 17 | }, |
18 | { | 18 | { |
19 | path: ':uuid', | 19 | path: ':videoId', |
20 | component: VideoWatchComponent, | 20 | component: VideoWatchComponent, |
21 | canActivate: [ MetaGuard ] | 21 | canActivate: [ MetaGuard ] |
22 | } | 22 | } |