LP1837059 Angular local admin page
[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
6 const routes: Routes = [{
7     path: 'splash',
8     component: AdminLocalSplashComponent
9 }, {
10     path: 'config/hold_matrix_matchpoint',
11     component: BasicAdminPageComponent,
12     data: [{schema: 'config', table: 'hold_matrix_matchpoint', disableOrgFilter: true}]
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 AdminLocalRoutingModule {}