Redirect comment links to the watch page

This commit is contained in:
Chocobozzz 2018-06-14 10:40:34 +02:00
parent b314f983f0
commit 91219e66c4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 0 deletions

View File

@ -72,6 +72,10 @@ const videosRoutes: Routes = [
}
}
},
{
path: 'watch/:uuid/comments/:commentId',
redirectTo: 'watch/:uuid'
},
{
path: 'watch/:uuid',
loadChildren: 'app/videos/+video-watch/video-watch.module#VideoWatchModule',