diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-27 16:31:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-27 16:31:54 +0200 |
commit | 8e5c2fdc335107533e7cad0fb724e4a0283249c3 (patch) | |
tree | d562120c2a410c5d3ef01c3a2b6d59a9ea5eeabc /client/src/app/+home | |
parent | 2cc0b82d77dff80b5b740795b7dc8ce1b3efa332 (diff) | |
download | PeerTube-8e5c2fdc335107533e7cad0fb724e4a0283249c3.tar.gz PeerTube-8e5c2fdc335107533e7cad0fb724e4a0283249c3.tar.zst PeerTube-8e5c2fdc335107533e7cad0fb724e4a0283249c3.zip |
Fix home routing
Diffstat (limited to 'client/src/app/+home')
-rw-r--r-- | client/src/app/+home/home-routing.module.ts | 4 |
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 @@ | |||
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 | import { MetaGuard } from '@ngx-meta/core' | ||
4 | import { HomeComponent } from './home.component' | 3 | import { HomeComponent } from './home.component' |
5 | 4 | ||
6 | const homeRoutes: Routes = [ | 5 | const homeRoutes: Routes = [ |
7 | { | 6 | { |
8 | path: '', | 7 | path: '', |
9 | component: HomeComponent, | 8 | component: HomeComponent |
10 | canActivateChild: [ MetaGuard ] | ||
11 | } | 9 | } |
12 | ] | 10 | ] |
13 | 11 | ||