Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | 26x 26x 26x 26x | import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
/**
* routes for the requisition management
*
* visible for testing
*/
export const routes: Routes = [
{
path: 'approver',
data: {
meta: {
title: 'account.requisitions.approvals',
robots: 'noindex, nofollow',
},
},
loadChildren: () => import('./approver/approver-page.module').then(m => m.ApproverPageModule),
},
{ path: 'buyer', loadChildren: () => import('./buyer/buyer-page.module').then(m => m.BuyerPageModule) },
{
path: 'approver/:requisitionId',
data: {
meta: {
title: 'account.requisitions.approvals',
robots: 'noindex, nofollow',
},
},
loadChildren: () =>
import('./requisition-detail/requisition-detail-page.module').then(m => m.RequisitionDetailPageModule),
},
{
path: 'buyer/:requisitionId',
loadChildren: () =>
import('./requisition-detail/requisition-detail-page.module').then(m => m.RequisitionDetailPageModule),
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
})
export class RequisitionManagementRoutingModule {}
|