diff options
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r-- | client/src/app/+admin/admin-routing.module.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/+admin/admin-routing.module.ts b/client/src/app/+admin/admin-routing.module.ts index bcc94a9f3..03782c258 100644 --- a/client/src/app/+admin/admin-routing.module.ts +++ b/client/src/app/+admin/admin-routing.module.ts | |||
@@ -1,6 +1,8 @@ | |||
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 | 3 | ||
4 | import { MetaGuard } from '@ngx-meta/core' | ||
5 | |||
4 | import { AdminComponent } from './admin.component' | 6 | import { AdminComponent } from './admin.component' |
5 | import { FriendsRoutes } from './friends' | 7 | import { FriendsRoutes } from './friends' |
6 | import { RequestSchedulersRoutes } from './request-schedulers' | 8 | import { RequestSchedulersRoutes } from './request-schedulers' |
@@ -11,6 +13,7 @@ const adminRoutes: Routes = [ | |||
11 | { | 13 | { |
12 | path: '', | 14 | path: '', |
13 | component: AdminComponent, | 15 | component: AdminComponent, |
16 | canActivateChild: [ MetaGuard ], | ||
14 | children: [ | 17 | children: [ |
15 | { | 18 | { |
16 | path: '', | 19 | path: '', |