const videoWatchRoutes: Routes = [
{
- path: '',
+ path: 'playlist/:uuid',
component: VideoWatchComponent,
- canActivateChild: [ MetaGuard ]
+ canActivate: [ MetaGuard ]
+ },
+ {
+ path: ':uuid/comments/:commentId',
+ redirectTo: ':uuid'
+ },
+ {
+ path: ':uuid',
+ component: VideoWatchComponent,
+ canActivate: [ MetaGuard ]
}
]