From d5b53822ae7e1660cebe3a35be5ce76ea73dc1b9 Mon Sep 17 00:00:00 2001 From: jonathanraes Date: Sun, 18 Feb 2018 09:57:26 +0100 Subject: 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 --- client/src/app/videos/+video-watch/video-watch-routing.module.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/src/app/videos/+video-watch/video-watch-routing.module.ts') 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 = [ path: '', component: VideoWatchComponent, canActivate: [ MetaGuard ] + }, + { + path: 'comment/:commentId', + component: VideoWatchComponent, + canActivate: [ MetaGuard ] } ] -- cgit v1.2.3