LP#1832897: add administrative interfaces for carousels
[working/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 import {AdminCarouselComponent} from './admin-carousel.component';
7
8 const routes: Routes = [{
9     path: 'splash',
10     component: AdminLocalSplashComponent
11 }, {
12     path: 'config/hold_matrix_matchpoint',
13     component: BasicAdminPageComponent,
14     data: [{schema: 'config', table: 'hold_matrix_matchpoint', disableOrgFilter: true}]
15 }, {
16     path: 'actor/address_alert',
17     component: AddressAlertComponent
18 }, {
19     path: 'container/carousel',
20     component: AdminCarouselComponent
21 }, {
22     path: ':schema/:table',
23     component: BasicAdminPageComponent
24 }];
25
26 @NgModule({
27   imports: [RouterModule.forChild(routes)],
28   exports: [RouterModule]
29 })
30
31 export class AdminLocalRoutingModule {}