Impoving routing by using redirect for indexes
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user