From 1942f11d5ee6926ad93dc1b79fae18325ba5de18 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 23 Jun 2020 14:49:20 +0200 Subject: Lazy load all routes --- client/src/app/login/login-routing.module.ts | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 client/src/app/login/login-routing.module.ts (limited to 'client/src/app/login/login-routing.module.ts') diff --git a/client/src/app/login/login-routing.module.ts b/client/src/app/login/login-routing.module.ts deleted file mode 100644 index 22f59b4d9..000000000 --- a/client/src/app/login/login-routing.module.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { NgModule } from '@angular/core' -import { RouterModule, Routes } from '@angular/router' -import { MetaGuard } from '@ngx-meta/core' -import { LoginComponent } from './login.component' -import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service' - -const loginRoutes: Routes = [ - { - path: 'login', - component: LoginComponent, - canActivate: [ MetaGuard ], - data: { - meta: { - title: 'Login' - } - }, - resolve: { - serverConfig: ServerConfigResolver - } - } -] - -@NgModule({ - imports: [ RouterModule.forChild(loginRoutes) ], - exports: [ RouterModule ] -}) -export class LoginRoutingModule {} -- cgit v1.2.3