Skip to content

Commit 784bc29

Browse files
committed
Fix routing
1 parent d51f545 commit 784bc29

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

demo/cli/src/app/app-routing.module.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { RouterModule, Routes } from '@angular/router';
33
import { LocalizeRouterModule } from 'localize-router';
44

55
const routes: Routes = [
6-
{ path: '', redirectTo: '/home', pathMatch: 'full' },
76
{ path: 'users', loadChildren: './users/users.module#UsersModule' }
87
];
98

demo/cli/src/app/home/home-routing.module.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { LocalizeRouterModule } from 'localize-router';
55

66
const homeRoutes: Routes = [
77
{ path: 'home', component: HomeComponent },
8+
{ path: '', component: HomeComponent }
89
];
910

1011
@NgModule({

0 commit comments

Comments
 (0)