]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+page-not-found/page-not-found-routing.module.ts
Fix lint
[github/Chocobozzz/PeerTube.git] / client / src / app / +page-not-found / page-not-found-routing.module.ts
CommitLineData
a51bad1a
C
1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router'
3import { PageNotFoundComponent } from './page-not-found.component'
4a7591e1 4import { MetaGuard } from '@ngx-meta/core'
a51bad1a
C
5
6const pageNotFoundRoutes: Routes = [
7 {
8 path: '',
4a7591e1
C
9 component: PageNotFoundComponent,
10 canActivate: [ MetaGuard ],
11 data: {
12 meta: {
f29f487e 13 title: $localize`Not found`
4a7591e1
C
14 }
15 }
a51bad1a
C
16 }
17]
18
19@NgModule({
20 imports: [ RouterModule.forChild(pageNotFoundRoutes) ],
21 exports: [ RouterModule ]
22})
23export class PageNotFoundRoutingModule {}