aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+page-not-found/page-not-found-routing.module.ts
blob: e3407099da25c5ed4eed753915f3febffd0ccd70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { PageNotFoundComponent } from './page-not-found.component'
import { MetaGuard } from '@ngx-meta/core'

const pageNotFoundRoutes: Routes = [
  {
    path: '',
    component: PageNotFoundComponent,
    canActivate: [ MetaGuard ],
    data: {
      meta: {
        title: 'Not found'
      }
    }
  }
]

@NgModule({
  imports: [ RouterModule.forChild(pageNotFoundRoutes) ],
  exports: [ RouterModule ]
})
export class PageNotFoundRoutingModule {}