diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-08 15:35:18 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-08 15:35:18 +0200 |
commit | 4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4 (patch) | |
tree | fc167d50569885006ee6911819dce634586231e2 /client/src/app/+page-not-found/page-not-found-routing.module.ts | |
parent | 696fa4c06b2351983740eb617ad46eb8eeb2c4e8 (diff) | |
download | PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.tar.gz PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.tar.zst PeerTube-4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4.zip |
Remove video not found
Diffstat (limited to 'client/src/app/+page-not-found/page-not-found-routing.module.ts')
-rw-r--r-- | client/src/app/+page-not-found/page-not-found-routing.module.ts | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/client/src/app/+page-not-found/page-not-found-routing.module.ts b/client/src/app/+page-not-found/page-not-found-routing.module.ts index 306d2d54d..e3407099d 100644 --- a/client/src/app/+page-not-found/page-not-found-routing.module.ts +++ b/client/src/app/+page-not-found/page-not-found-routing.module.ts | |||
@@ -1,11 +1,18 @@ | |||
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 { PageNotFoundComponent } from './page-not-found.component' | 3 | import { PageNotFoundComponent } from './page-not-found.component' |
4 | import { MetaGuard } from '@ngx-meta/core' | ||
4 | 5 | ||
5 | const pageNotFoundRoutes: Routes = [ | 6 | const pageNotFoundRoutes: Routes = [ |
6 | { | 7 | { |
7 | path: '', | 8 | path: '', |
8 | component: PageNotFoundComponent | 9 | component: PageNotFoundComponent, |
10 | canActivate: [ MetaGuard ], | ||
11 | data: { | ||
12 | meta: { | ||
13 | title: 'Not found' | ||
14 | } | ||
15 | } | ||
9 | } | 16 | } |
10 | ] | 17 | ] |
11 | 18 | ||