Skip to content

Commit c2ec286

Browse files
committed
chore(*): restore routing changes
1 parent a2978ac commit c2ec286

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

projects/app-crm/src/app/app.routing.module.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ import { RouterModule, Routes } from '@angular/router';
33

44
export const appRoutes: Routes = [
55
{
6-
path: '', pathMatch: 'full', loadChildren: () => import('./grid-crm/grid-crm.module').then(m => m.GridsCrmModule)
6+
path: '', pathMatch: 'full', redirectTo: '/grid-crm'
77
},
88
{
9-
path: 'grid-crm', redirectTo: ''
9+
loadChildren: () => import('./grid-crm/grid-crm.module').then(m => m.GridsCrmModule),
10+
path: 'grid-crm'
1011
}
1112
];
1213
@NgModule({
@@ -17,4 +18,4 @@ export const appRoutes: Routes = [
1718
RouterModule.forRoot(appRoutes)
1819
]
1920
})
20-
export class AppRoutingModule { }
21+
export class AppRoutingModule { }

0 commit comments

Comments
 (0)