Impoving routing by using redirect for indexes
This commit is contained in:
1 parent
6f19f75a0b
commit
6f87075711
1 file changed
+2
-1
@@ -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