]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+signup/+verify-account/verify-account-routing.module.ts
Fix typo
[github/Chocobozzz/PeerTube.git] / client / src / app / +signup / +verify-account / verify-account-routing.module.ts
CommitLineData
d9eaee39
JM
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
b247a132 3import { VerifyAccountAskSendEmailComponent } from './verify-account-ask-send-email/verify-account-ask-send-email.component'
0f01a8ba 4import { VerifyAccountEmailComponent } from './verify-account-email/verify-account-email.component'
d9eaee39
JM
5
6const 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})
36export class VerifyAccountRoutingModule {}