]>
Commit | Line | Data |
---|---|---|
ecb4e35f C |
1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | |
3 | ||
4 | import { MetaGuard } from '@ngx-meta/core' | |
5 | ||
6 | import { ResetPasswordComponent } from './reset-password.component' | |
7 | ||
8 | const resetPasswordRoutes: Routes = [ | |
9 | { | |
10 | path: 'reset-password', | |
11 | component: ResetPasswordComponent, | |
12 | canActivate: [ MetaGuard ], | |
13 | data: { | |
14 | meta: { | |
15 | title: 'Reset password' | |
16 | } | |
17 | } | |
18 | } | |
19 | ] | |
20 | ||
21 | @NgModule({ | |
22 | imports: [ RouterModule.forChild(resetPasswordRoutes) ], | |
23 | exports: [ RouterModule ] | |
24 | }) | |
25 | export class ResetPasswordRoutingModule {} |