From 8b13c289f8db1666a3970882797d42f6cfd6128b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 6 Jul 2017 17:43:58 +0200 Subject: Fix page titles --- client/src/app/videos/videos-routing.module.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'client/src/app/videos/videos-routing.module.ts') diff --git a/client/src/app/videos/videos-routing.module.ts b/client/src/app/videos/videos-routing.module.ts index 7d002abde..e18c1cec0 100644 --- a/client/src/app/videos/videos-routing.module.ts +++ b/client/src/app/videos/videos-routing.module.ts @@ -1,6 +1,8 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' +import { MetaGuard } from '@ngx-meta/core' + import { VideoAddComponent, VideoUpdateComponent } from './video-edit' import { VideoListComponent } from './video-list' import { VideosComponent } from './videos.component' @@ -10,6 +12,7 @@ const videosRoutes: Routes = [ { path: 'videos', component: VideosComponent, + canActivateChild: [ MetaGuard ], children: [ { path: 'list', -- cgit v1.2.3