Skip to content

Commit 202f7b7

Browse files
authored
Merge pull request #3234 from IgniteUI/dTsvetkov/change-crm-routing-paths
Change crm routing paths
2 parents 4315942 + 8a41b4e commit 202f7b7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

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

44
export const appRoutes: Routes = [
55
{
6-
path: '', pathMatch: 'full', redirectTo: '/grid-crm'
6+
path: '', pathMatch: 'full', loadChildren: () => import('./grid-crm/grid-crm.module').then(m => m.GridsCrmModule)
77
},
88
{
9-
loadChildren: () => import('./grid-crm/grid-crm.module').then(m => m.GridsCrmModule),
10-
path: 'grid-crm'
11-
}
9+
path: 'grid-crm', loadChildren: () => import('./grid-crm/grid-crm.module').then(m => m.GridsCrmModule)
10+
},
11+
{
12+
path: '**', redirectTo: ''
13+
}
1214
];
1315
@NgModule({
1416
exports: [

0 commit comments

Comments
 (0)