diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+videos/videos-routing.module.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/+videos/videos-routing.module.ts b/client/src/app/+videos/videos-routing.module.ts index cf5f0b2e8..f658182e0 100644 --- a/client/src/app/+videos/videos-routing.module.ts +++ b/client/src/app/+videos/videos-routing.module.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | import { LoginGuard } from '@app/core' | ||
3 | import { MetaGuard } from '@ngx-meta/core' | 4 | import { MetaGuard } from '@ngx-meta/core' |
4 | import { VideoOverviewComponent } from './video-list/overview/video-overview.component' | 5 | import { VideoOverviewComponent } from './video-list/overview/video-overview.component' |
5 | import { VideoLocalComponent } from './video-list/video-local.component' | 6 | import { VideoLocalComponent } from './video-list/video-local.component' |
@@ -65,6 +66,7 @@ const videosRoutes: Routes = [ | |||
65 | }, | 66 | }, |
66 | { | 67 | { |
67 | path: 'subscriptions', | 68 | path: 'subscriptions', |
69 | canActivate: [ LoginGuard ], | ||
68 | component: VideoUserSubscriptionsComponent, | 70 | component: VideoUserSubscriptionsComponent, |
69 | data: { | 71 | data: { |
70 | meta: { | 72 | meta: { |