]>
Commit | Line | Data |
---|---|---|
d9eaee39 JM |
1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | |
b247a132 | 3 | import { VerifyAccountAskSendEmailComponent } from './verify-account-ask-send-email/verify-account-ask-send-email.component' |
0f01a8ba | 4 | import { VerifyAccountEmailComponent } from './verify-account-email/verify-account-email.component' |
d9eaee39 JM |
5 | |
6 | const verifyAccountRoutes: Routes = [ | |
7 | { | |
8 | path: '', | |
d9eaee39 JM |
9 | children: [ |
10 | { | |
11 | path: 'email', | |
12 | component: VerifyAccountEmailComponent, | |
13 | data: { | |
14 | meta: { | |
dc5bb5ce | 15 | title: $localize`Verify account via email` |
d9eaee39 JM |
16 | } |
17 | } | |
18 | }, | |
19 | { | |
20 | path: 'ask-send-email', | |
21 | component: VerifyAccountAskSendEmailComponent, | |
22 | data: { | |
23 | meta: { | |
0cc85266 | 24 | title: $localize`Ask to send an email to verify your account` |
d9eaee39 JM |
25 | } |
26 | } | |
27 | } | |
28 | ] | |
29 | } | |
30 | ] | |
31 | ||
32 | @NgModule({ | |
33 | imports: [ RouterModule.forChild(verifyAccountRoutes) ], | |
34 | exports: [ RouterModule ] | |
35 | }) | |
36 | export class VerifyAccountRoutingModule {} |