18 lines
532 B
TypeScript
18 lines
532 B
TypeScript
// vim: set tw=80 ts=2 sw=2 sts=2 :
|
|
|
|
import { Routes } from '@angular/router';
|
|
|
|
import { OperationListComponent } from './operationList.component';
|
|
import { OperationEditComponent } from './operationEdit.component';
|
|
|
|
export const OperationRoutes: Routes = [{
|
|
path: 'accounts/:accountId/operations',
|
|
component: OperationListComponent,
|
|
}, {
|
|
path: 'accounts/:accountId/operations/new',
|
|
component: OperationEditComponent,
|
|
}, {
|
|
path: 'accounts/:accountId/operations/:operationId/edit',
|
|
component: OperationEditComponent,
|
|
}];
|