]>
Commit | Line | Data |
---|---|---|
a51bad1a C |
1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | |
3 | import { PageNotFoundComponent } from './page-not-found.component' | |
4a7591e1 | 4 | import { MetaGuard } from '@ngx-meta/core' |
a51bad1a C |
5 | |
6 | const pageNotFoundRoutes: Routes = [ | |
7 | { | |
8 | path: '', | |
4a7591e1 C |
9 | component: PageNotFoundComponent, |
10 | canActivate: [ MetaGuard ], | |
11 | data: { | |
12 | meta: { | |
13 | title: 'Not found' | |
14 | } | |
15 | } | |
a51bad1a C |
16 | } |
17 | ] | |
18 | ||
19 | @NgModule({ | |
20 | imports: [ RouterModule.forChild(pageNotFoundRoutes) ], | |
21 | exports: [ RouterModule ] | |
22 | }) | |
23 | export class PageNotFoundRoutingModule {} |