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, 2 insertions, 1 deletions
diff --git a/client/src/app/account/account-routing.module.ts b/client/src/app/account/account-routing.module.ts index 029d97788..74d9aa03e 100644 --- a/client/src/app/account/account-routing.module.ts +++ b/client/src/app/account/account-routing.module.ts | |||
@@ -3,13 +3,14 @@ import { RouterModule, Routes } from '@angular/router' | |||
3 | 3 | ||
4 | import { MetaGuard } from '@ngx-meta/core' | 4 | import { MetaGuard } from '@ngx-meta/core' |
5 | 5 | ||
6 | import { LoginGuard } from '../core' | ||
6 | import { AccountComponent } from './account.component' | 7 | import { AccountComponent } from './account.component' |
7 | 8 | ||
8 | const accountRoutes: Routes = [ | 9 | const accountRoutes: Routes = [ |
9 | { | 10 | { |
10 | path: 'account', | 11 | path: 'account', |
11 | component: AccountComponent, | 12 | component: AccountComponent, |
12 | canActivate: [ MetaGuard ], | 13 | canActivate: [ MetaGuard, LoginGuard ], |
13 | data: { | 14 | data: { |
14 | meta: { | 15 | meta: { |
15 | title: 'My account' | 16 | title: 'My account' |