1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {OrgUnitComponent} from './org-unit.component';
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.
9 const routes: Routes = [{
11 component: OrgUnitComponent
15 imports: [RouterModule.forChild(routes)],
16 exports: [RouterModule]
19 export class OrgUnitRoutingModule {}