diff options
Diffstat (limited to 'client/src/app/account/account-routing.module.ts')
-rw-r--r-- | client/src/app/account/account-routing.module.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/account/account-routing.module.ts b/client/src/app/account/account-routing.module.ts index e9b8f7031..029d97788 100644 --- a/client/src/app/account/account-routing.module.ts +++ b/client/src/app/account/account-routing.module.ts | |||
@@ -1,12 +1,15 @@ | |||
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 { AccountComponent } from './account.component' | 6 | import { AccountComponent } from './account.component' |
5 | 7 | ||
6 | const accountRoutes: Routes = [ | 8 | const accountRoutes: Routes = [ |
7 | { | 9 | { |
8 | path: 'account', | 10 | path: 'account', |
9 | component: AccountComponent, | 11 | component: AccountComponent, |
12 | canActivate: [ MetaGuard ], | ||
10 | data: { | 13 | data: { |
11 | meta: { | 14 | meta: { |
12 | title: 'My account' | 15 | title: 'My account' |