aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-07-06 17:43:58 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-07-06 17:43:58 +0200
commit8b13c289f8db1666a3970882797d42f6cfd6128b (patch)
tree4e6183936260e01ed5a0cbd366ddc58f76c1a12b /client/src/app/+admin
parent4e1b09735de70dabc5987b8258a01aac8063ae26 (diff)
downloadPeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.tar.gz
PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.tar.zst
PeerTube-8b13c289f8db1666a3970882797d42f6cfd6128b.zip
Fix page titles
Diffstat (limited to 'client/src/app/+admin')
-rw-r--r--client/src/app/+admin/admin-routing.module.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/src/app/+admin/admin-routing.module.ts b/client/src/app/+admin/admin-routing.module.ts
index bcc94a9f3..03782c258 100644
--- a/client/src/app/+admin/admin-routing.module.ts
+++ b/client/src/app/+admin/admin-routing.module.ts
@@ -1,6 +1,8 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3 3
4import { MetaGuard } from '@ngx-meta/core'
5
4import { AdminComponent } from './admin.component' 6import { AdminComponent } from './admin.component'
5import { FriendsRoutes } from './friends' 7import { FriendsRoutes } from './friends'
6import { RequestSchedulersRoutes } from './request-schedulers' 8import { RequestSchedulersRoutes } from './request-schedulers'
@@ -11,6 +13,7 @@ const adminRoutes: Routes = [
11 { 13 {
12 path: '', 14 path: '',
13 component: AdminComponent, 15 component: AdminComponent,
16 canActivateChild: [ MetaGuard ],
14 children: [ 17 children: [
15 { 18 {
16 path: '', 19 path: '',