Impoving routing by using redirect for indexes
This commit is contained in:
@@ -15,8 +15,9 @@ const routes: Routes = [
|
||||
title: 'Entities',
|
||||
},
|
||||
children: [
|
||||
{ path: '', redirectTo: 'list', pathMatch: 'full' },
|
||||
{
|
||||
path: '',
|
||||
path: 'list',
|
||||
component: EntityListComponent,
|
||||
data: {
|
||||
title: 'List',
|
||||
|
||||
Reference in New Issue
Block a user