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