]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/admin/server/org-unit-routing.module.ts
LP1840050 Angular Org Unit Admin page port
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / admin / server / org-unit-routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {OrgUnitComponent} from './org-unit.component';
4
5 // Since org-unit admin has its own module with page-level components,
6 // it needs its own routing module as well to define which component
7 // to display at page load time.
8
9 const routes: Routes = [{
10     path: '',
11     component: OrgUnitComponent
12 }];
13
14 @NgModule({
15   imports: [RouterModule.forChild(routes)],
16   exports: [RouterModule]
17 })
18
19 export class OrgUnitRoutingModule {}