From: Bill Erickson Date: Thu, 12 Apr 2018 21:29:41 +0000 (+0000) Subject: LP#1626157 Patron routing module X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8d819e31a44d6a11282b1844f356fb1356543090;p=working%2FEvergreen.git LP#1626157 Patron routing module Signed-off-by: Bill Erickson --- 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' } ];