]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/eg2/src/app/staff/admin/acq/routing.module.ts
Docs: merge 3.2 release notes
[working/Evergreen.git] / Open-ILS / src / eg2 / src / app / staff / admin / acq / routing.module.ts
1 import {NgModule} from '@angular/core';
2 import {RouterModule, Routes} from '@angular/router';
3 import {AdminAcqSplashComponent} from './admin-acq-splash.component';
4 import {BasicAdminPageComponent} from '@eg/staff/admin/basic-admin-page.component';
5
6 const routes: Routes = [{
7     path: 'splash',
8     component: AdminAcqSplashComponent
9 }, {
10     path: ':table',
11     component: BasicAdminPageComponent,
12     // All ACQ admin pages cover data in the acq.* schema.  No need to
13     // duplicate it within the URL path.  Pass it manually instead.
14     data: [{schema: 'acq'}]
15 }];
16
17 @NgModule({
18   imports: [RouterModule.forChild(routes)],
19   exports: [RouterModule]
20 })
21
22 export class AdminAcqRoutingModule {}