Skip to content

Commit

Permalink
refactor routing, refs #335
Browse files Browse the repository at this point in the history
  • Loading branch information
caebr committed May 13, 2022
1 parent c6c779f commit fd45608
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/app/events/events-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@ const routes: Routes = [
path: 'tests',
component: TestsListComponent,
},
{
path: 'tests/add',
component: TestsAddComponent,
},
{
path: 'tests/:testId/edit',
component: TestsEditComponent,
},
],
},
{
path: ':id/tests/add',
component: TestsComponent,
children: [{ path: '', component: TestsAddComponent }],
},
{ path: ':id/tests', children: [dossierRoute] },
],
},
Expand Down

0 comments on commit fd45608

Please sign in to comment.