aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+page-not-found/page-not-found-routing.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-08 15:35:18 +0200
committerChocobozzz <me@florianbigard.com>2018-06-08 15:35:18 +0200
commit4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4 (patch)
treefc167d50569885006ee6911819dce634586231e2 /client/src/app/+page-not-found/page-not-found-routing.module.ts
parent696fa4c06b2351983740eb617ad46eb8eeb2c4e8 (diff)
downloadPeerTube-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.ts9
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 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3import { PageNotFoundComponent } from './page-not-found.component' 3import { PageNotFoundComponent } from './page-not-found.component'
4import { MetaGuard } from '@ngx-meta/core'
4 5
5const pageNotFoundRoutes: Routes = [ 6const 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