LP#1626157 Patron routing module
authorBill Erickson <berickxx@gmail.com>
Thu, 12 Apr 2018 21:29:41 +0000 (21:29 +0000)
committerBill Erickson <berickxx@gmail.com>
Thu, 12 Apr 2018 21:29:41 +0000 (21:29 +0000)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/circ/patron/routing.module.ts [new file with mode: 0644]
Open-ILS/src/eg2/src/app/staff/circ/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 (file)
index 0000000..0f0bbb0
--- /dev/null
@@ -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 {}
index 969decd..3a4ffe7 100644 (file)
@@ -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'
   }
 ];