From 122ad00038d2ce02ec3ab6bfdbf2f70d2e274e7d Mon Sep 17 00:00:00 2001 From: Thomas <4159106+dtslvr@users.noreply.github.com> Date: Sat, 31 Jul 2021 11:20:44 +0200 Subject: [PATCH] Clean up code --- apps/client/src/app/app-routing.module.ts | 12 ++++++------ .../hello-ghostfolio/hello-ghostfolio-page.module.ts | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/apps/client/src/app/app-routing.module.ts b/apps/client/src/app/app-routing.module.ts index f25b3c295..d08757c8b 100644 --- a/apps/client/src/app/app-routing.module.ts +++ b/apps/client/src/app/app-routing.module.ts @@ -34,18 +34,18 @@ const routes: Routes = [ import('./pages/auth/auth-page.module').then((m) => m.AuthPageModule) }, { - path: 'en/blog/2021/07/hello-ghostfolio', + path: 'de/blog/2021/07/hallo-ghostfolio', loadChildren: () => import( - './pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module' - ).then((m) => m.HelloGhostfolioPageModule) + './pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.module' + ).then((m) => m.HalloGhostfolioPageModule) }, { - path: 'de/blog/2021/07/hallo-ghostfolio', + path: 'en/blog/2021/07/hello-ghostfolio', loadChildren: () => import( - './pages/blog/2021/07/hallo-ghostfolio/hallo-ghostfolio-page.module' - ).then((m) => m.HalloGhostfolioPageModule) + './pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module' + ).then((m) => m.HelloGhostfolioPageModule) }, { path: 'home', diff --git a/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module.ts b/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module.ts index c6f0cb593..c9b7d82f5 100644 --- a/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module.ts +++ b/apps/client/src/app/pages/blog/2021/07/hello-ghostfolio/hello-ghostfolio-page.module.ts @@ -1,5 +1,6 @@ import { CommonModule } from '@angular/common'; import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; +import { RouterModule } from '@angular/router'; import { HelloGhostfolioPageRoutingModule } from './hello-ghostfolio-page-routing.module'; import { HelloGhostfolioPageComponent } from './hello-ghostfolio-page.component'; @@ -7,7 +8,7 @@ import { HelloGhostfolioPageComponent } from './hello-ghostfolio-page.component' @NgModule({ declarations: [HelloGhostfolioPageComponent], exports: [], - imports: [CommonModule, HelloGhostfolioPageRoutingModule], + imports: [CommonModule, HelloGhostfolioPageRoutingModule, RouterModule], providers: [], schemas: [CUSTOM_ELEMENTS_SCHEMA] })