diff options
author | jonathanraes <jonathanraes@users.noreply.github.com> | 2018-02-18 09:57:26 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-18 09:57:26 +0100 |
commit | d5b53822ae7e1660cebe3a35be5ce76ea73dc1b9 (patch) | |
tree | 143c59398130bf8be2e974ca20eaff980b7242d2 /client/src/app/videos/+video-watch/video-watch-routing.module.ts | |
parent | 16f16570978bc57bbe14524e6d0cc27260191bfd (diff) | |
download | PeerTube-d5b53822ae7e1660cebe3a35be5ce76ea73dc1b9.tar.gz PeerTube-d5b53822ae7e1660cebe3a35be5ce76ea73dc1b9.tar.zst PeerTube-d5b53822ae7e1660cebe3a35be5ce76ea73dc1b9.zip |
Issue #168: youtube-like marking of comments (#297)
* youtube-like marking of comments
uses GET parameters to mark comments similar to youtube
* place link to comment in 'comment-date'
* Use a routes to highight a comment
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 | 5 |
1 files changed, 5 insertions, 0 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 bdd4f945e..72f76ab46 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 | |||
@@ -10,6 +10,11 @@ const videoWatchRoutes: Routes = [ | |||
10 | path: '', | 10 | path: '', |
11 | component: VideoWatchComponent, | 11 | component: VideoWatchComponent, |
12 | canActivate: [ MetaGuard ] | 12 | canActivate: [ MetaGuard ] |
13 | }, | ||
14 | { | ||
15 | path: 'comment/:commentId', | ||
16 | component: VideoWatchComponent, | ||
17 | canActivate: [ MetaGuard ] | ||
13 | } | 18 | } |
14 | ] | 19 | ] |
15 | 20 | ||