diff options
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.ts | 24 |
1 files changed, 0 insertions, 24 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 deleted file mode 100644 index 84f400bb6..000000000 --- a/client/src/app/+page-not-found/page-not-found-routing.module.ts +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { RouterModule, Routes } from '@angular/router' | ||
3 | import { PageNotFoundComponent } from './page-not-found.component' | ||
4 | import { MenuGuards } from '@app/core' | ||
5 | |||
6 | const pageNotFoundRoutes: Routes = [ | ||
7 | { | ||
8 | path: '', | ||
9 | component: PageNotFoundComponent, | ||
10 | canActivate: [ MenuGuards.close(true) ], | ||
11 | canDeactivate: [ MenuGuards.open(true) ], | ||
12 | data: { | ||
13 | meta: { | ||
14 | title: $localize`Not found` | ||
15 | } | ||
16 | } | ||
17 | } | ||
18 | ] | ||
19 | |||
20 | @NgModule({ | ||
21 | imports: [ RouterModule.forChild(pageNotFoundRoutes) ], | ||
22 | exports: [ RouterModule ] | ||
23 | }) | ||
24 | export class PageNotFoundRoutingModule {} | ||