]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+reset-password/reset-password-routing.module.ts
Lazy load all routes
[github/Chocobozzz/PeerTube.git] / client / src / app / +reset-password / reset-password-routing.module.ts
CommitLineData
ecb4e35f
C
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
ecb4e35f 3import { MetaGuard } from '@ngx-meta/core'
ecb4e35f
C
4import { ResetPasswordComponent } from './reset-password.component'
5
6const resetPasswordRoutes: Routes = [
7 {
1942f11d 8 path: '',
ecb4e35f
C
9 component: ResetPasswordComponent,
10 canActivate: [ MetaGuard ],
11 data: {
12 meta: {
13 title: 'Reset password'
14 }
15 }
16 }
17]
18
19@NgModule({
20 imports: [ RouterModule.forChild(resetPasswordRoutes) ],
21 exports: [ RouterModule ]
22})
23export class ResetPasswordRoutingModule {}