]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/admin/local/routing.module.ts
12030dde0f511b5c7a189be203aedc9c77c0823f
[Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / admin / local / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {AdminLocalSplashComponent} from './admin-local-splash.component';
4 import {BasicAdminPageComponent} from '@eg/staff/admin/basic-admin-page.component';
5 import {AddressAlertComponent} from './address-alert.component';
6
7 const routes: Routes = [{
8     path: 'splash',
9     component: AdminLocalSplashComponent
10 }, {
11     path: 'config/hold_matrix_matchpoint',
12     component: BasicAdminPageComponent,
13     data: [{schema: 'config', table: 'hold_matrix_matchpoint', disableOrgFilter: true}]
14 }, {
15     path: 'actor/address_alert',
16     component: AddressAlertComponent
17 }, {
18     path: ':schema/:table',
19     component: BasicAdminPageComponent
20 }];
21
22 @NgModule({
23   imports: [RouterModule.forChild(routes)],
24   exports: [RouterModule]
25 })
26
27 export class AdminLocalRoutingModule {}