From 8d819e31a44d6a11282b1844f356fb1356543090 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 12 Apr 2018 21:29:41 +0000 Subject: [PATCH] LP#1626157 Patron routing module Signed-off-by: Bill Erickson --- .../src/eg2/src/app/staff/circ/patron/routing.module.ts | 15 +++++++++++++++ Open-ILS/src/eg2/src/app/staff/circ/routing.module.ts | 5 +---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 Open-ILS/src/eg2/src/app/staff/circ/patron/routing.module.ts diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/routing.module.ts new file mode 100644 index 0000000000..0f0bbb07bb --- /dev/null +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/routing.module.ts @@ -0,0 +1,15 @@ +import {NgModule} from '@angular/core'; +import {RouterModule, Routes} from '@angular/router'; + +const routes: Routes = [ + { path: 'bcsearch', + loadChildren: '@eg/staff/circ/patron/bcsearch/bcsearch.module#EgBcSearchModule' + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) + +export class EgCircPatronRoutingModule {} diff --git a/Open-ILS/src/eg2/src/app/staff/circ/routing.module.ts b/Open-ILS/src/eg2/src/app/staff/circ/routing.module.ts index 969decd546..3a4ffe7189 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/routing.module.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/routing.module.ts @@ -3,10 +3,7 @@ import { RouterModule, Routes } from '@angular/router'; const routes: Routes = [ { path: 'patron', - children: [{ - path: 'bcsearch', - loadChildren: '@eg/staff/circ/patron/bcsearch/bcsearch.module#EgBcSearchModule' - }] + loadChildren: '@eg/staff/circ/patron/routing.module#EgCircPatronRoutingModule' } ]; -- 2.11.0