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',
},
children: [
{ path: '', redirectTo: 'list', pathMatch: 'full' },
{
path: '',
path: 'list',
component: EntityListComponent,
data: {
title: 'List',