c971ed74a72be65155e3b154e2c14380450ee185
[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
7 const routes: Routes = [{
8     path: 'splash',
9     component: AdminServerSplashComponent
10 }, {
11     path: 'actor/org_unit_type',
12     component: OrgUnitTypeComponent
13 }, {
14     path: ':schema/:table',
15     component: BasicAdminPageComponent
16 }];
17
18 @NgModule({
19   imports: [RouterModule.forChild(routes)],
20   exports: [RouterModule]
21 })
22
23 export class AdminServerRoutingModule {}