X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Fvideo-watch-routing.module.ts;h=cb77685c04e78ed49af25a49aaf45a0950de846c;hb=b1ed448e948211a59ab110c9d4c7c2e82819645e;hp=d8fecb87da9c546fea5ee78488aa7e4b6a0fd178;hpb=1942f11d5ee6926ad93dc1b79fae18325ba5de18;p=github%2FChocobozzz%2FPeerTube.git 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 d8fecb87d..cb77685c0 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 @@ -1,13 +1,11 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' -import { MetaGuard } from '@ngx-meta/core' import { VideoWatchComponent } from './video-watch.component' const videoWatchRoutes: Routes = [ { path: 'playlist/:playlistId', - component: VideoWatchComponent, - canActivate: [ MetaGuard ] + component: VideoWatchComponent }, { path: ':videoId/comments/:commentId', @@ -15,8 +13,7 @@ const videoWatchRoutes: Routes = [ }, { path: ':videoId', - component: VideoWatchComponent, - canActivate: [ MetaGuard ] + component: VideoWatchComponent } ]