lp1840287 Edit Floating Group Members
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / admin / server / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {AdminServerSplashComponent} from './admin-server-splash.component';
4 import {BasicAdminPageComponent} from '@eg/staff/admin/basic-admin-page.component';
5 import {OrgUnitTypeComponent} from './org-unit-type.component';
6 import {PrintTemplateComponent} from './print-template.component';
7 import {PermGroupTreeComponent} from './perm-group-tree.component';
8
9 const routes: Routes = [{
10     path: 'splash',
11     component: AdminServerSplashComponent
12 }, {
13     path: 'actor/org_unit_type',
14     component: OrgUnitTypeComponent
15 }, {
16     path: 'config/floating_group',
17     loadChildren: '@eg/staff/admin/server/floating-group/floating-group.module#FloatingGroupModule'
18 }, {
19     path: 'config/print_template',
20     component: PrintTemplateComponent
21 }, {
22     path: 'permission/grp_tree',
23     component: PermGroupTreeComponent
24 }, {
25     path: 'actor/org_unit',
26     loadChildren: '@eg/staff/admin/server/org-unit.module#OrgUnitModule'
27 }, {
28     path: ':schema/:table',
29     component: BasicAdminPageComponent
30 }];
31
32 @NgModule({
33   imports: [RouterModule.forChild(routes)],
34   exports: [RouterModule]
35 })
36
37 export class AdminServerRoutingModule {}