]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - 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
1 import { NgModule } from '@angular/core'
2 import { RouterModule, Routes } from '@angular/router'
3 import { MetaGuard } from '@ngx-meta/core'
4 import { ResetPasswordComponent } from './reset-password.component'
5
6 const resetPasswordRoutes: Routes = [
7 {
8 path: '',
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 })
23 export class ResetPasswordRoutingModule {}