All checks were successful
Backend Build and Test / build (push) Successful in 2m10s
25 lines
652 B
TypeScript
25 lines
652 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { AllowancePage } from './allowance.page';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: ':id',
|
|
component: AllowancePage,
|
|
},
|
|
{
|
|
path: ':id/add',
|
|
loadChildren: () => import('../edit-allowance/edit-allowance.module').then(m => m.EditAllowancePageModule)
|
|
},
|
|
{
|
|
path: ':id/edit/:goalId',
|
|
loadChildren: () => import('../edit-allowance/edit-allowance.module').then(m => m.EditAllowancePageModule)
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AllowancePageRoutingModule {}
|