]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/reset-password/reset-password-routing.module.ts
Import magnets with webtorrent
[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
4 import { MetaGuard } from '@ngx-meta/core'
5
6 import { ResetPasswordComponent } from './reset-password.component'
7
8 const resetPasswordRoutes: Routes = [
9 {
10 path: 'reset-password',
11 component: ResetPasswordComponent,
12 canActivate: [ MetaGuard ],
13 data: {
14 meta: {
15 title: 'Reset password'
16 }
17 }
18 }
19 ]
20
21 @NgModule({
22 imports: [ RouterModule.forChild(resetPasswordRoutes) ],
23 exports: [ RouterModule ]
24 })
25 export class ResetPasswordRoutingModule {}