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=0f01a8bacddf6c502e6470e34fdac7750bb76e89;hp=d8fecb87da9c546fea5ee78488aa7e4b6a0fd178;hpb=05ded92ed16bc83a33e71ecccf0f3ee9751fd7b0;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 } ]