aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-05-27 16:31:54 +0200
committerChocobozzz <me@florianbigard.com>2021-05-27 16:31:54 +0200
commit8e5c2fdc335107533e7cad0fb724e4a0283249c3 (patch)
treed562120c2a410c5d3ef01c3a2b6d59a9ea5eeabc /client
parent2cc0b82d77dff80b5b740795b7dc8ce1b3efa332 (diff)
downloadPeerTube-8e5c2fdc335107533e7cad0fb724e4a0283249c3.tar.gz
PeerTube-8e5c2fdc335107533e7cad0fb724e4a0283249c3.tar.zst
PeerTube-8e5c2fdc335107533e7cad0fb724e4a0283249c3.zip
Fix home routing
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+home/home-routing.module.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/+home/home-routing.module.ts b/client/src/app/+home/home-routing.module.ts
index 1eaee4449..a2085f191 100644
--- a/client/src/app/+home/home-routing.module.ts
+++ b/client/src/app/+home/home-routing.module.ts
@@ -1,13 +1,11 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3import { MetaGuard } from '@ngx-meta/core'
4import { HomeComponent } from './home.component' 3import { HomeComponent } from './home.component'
5 4
6const homeRoutes: Routes = [ 5const homeRoutes: Routes = [
7 { 6 {
8 path: '', 7 path: '',
9 component: HomeComponent, 8 component: HomeComponent
10 canActivateChild: [ MetaGuard ]
11 } 9 }
12] 10]
13 11