aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+page-not-found/page-not-found-routing.module.ts
blob: 11399fbfd4d7145024135bff504edef2ebbd7e04 (plain) (tree)
1
2
3
4
5
6
7
8


                                                                  
                                          



                                    



                                     
                                   

       







                                                         
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: $localize`Not found`
      }
    }
  }
]

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