Skip to content

Commit d84d407

Browse files
ShahriarMalikthePunderWoman
authored andcommitted
docs: fix appRoutes constant was not passed correctly to provideRouter (angular#57070)
PR Close angular#57070
1 parent 147eee4 commit d84d407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adev/src/content/guide/routing/router-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const appRoutes: Routes = [
3939
{ path: '**', component: PageNotFoundComponent }
4040
];
4141
export const appConfig: ApplicationConfig = {
42-
providers: [provideRouter(routes, withDebugTracing())]
42+
providers: [provideRouter(appRoutes, withDebugTracing())]
4343
}
4444
```
4545

0 commit comments

Comments
 (0)