Impoving routing by using redirect for indexes

This commit is contained in:
2023-01-28 14:37:38 +01:00
parent 6f19f75a0b
commit 6f87075711

View File

@@ -15,8 +15,9 @@ const routes: Routes = [
title: 'Entities', title: 'Entities',
}, },
children: [ children: [
{ path: '', redirectTo: 'list', pathMatch: 'full' },
{ {
path: '', path: 'list',
component: EntityListComponent, component: EntityListComponent,
data: { data: {
title: 'List', title: 'List',