diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-06 17:43:58 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-06 17:43:58 +0200 |
commit | 8b13c289f8db1666a3970882797d42f6cfd6128b (patch) | |
tree | 4e6183936260e01ed5a0cbd366ddc58f76c1a12b /client/src/app/login/login-routing.module.ts | |
parent | 4e1b09735de70dabc5987b8258a01aac8063ae26 (diff) | |
download | PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.tar.gz PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.tar.zst PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.zip |
Fix page titles
Diffstat (limited to 'client/src/app/login/login-routing.module.ts')
-rw-r--r-- | client/src/app/login/login-routing.module.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/login/login-routing.module.ts b/client/src/app/login/login-routing.module.ts index 1a91677c0..4d8913041 100644 --- a/client/src/app/login/login-routing.module.ts +++ b/client/src/app/login/login-routing.module.ts | |||
@@ -1,12 +1,15 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | 3 | ||
4 | import { MetaGuard } from '@ngx-meta/core' | ||
5 | |||
4 | import { LoginComponent } from './login.component' | 6 | import { LoginComponent } from './login.component' |
5 | 7 | ||
6 | const loginRoutes: Routes = [ | 8 | const loginRoutes: Routes = [ |
7 | { | 9 | { |
8 | path: 'login', | 10 | path: 'login', |
9 | component: LoginComponent, | 11 | component: LoginComponent, |
12 | canActivate: [ MetaGuard ], | ||
10 | data: { | 13 | data: { |
11 | meta: { | 14 | meta: { |
12 | title: 'Login' | 15 | title: 'Login' |