Skip to content

Commit

Permalink
fix(index): AppRouter should point to the same root Router singleton …
Browse files Browse the repository at this point in the history
…as Router
  • Loading branch information
EisenbergEffect committed Dec 30, 2015
1 parent 1f9b2a9 commit 8c62f59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aurelia-templating-router.js
Expand Up @@ -8,6 +8,8 @@ function configure(config) {
.singleton(RouteLoader, TemplatingRouteLoader)
.singleton(Router, AppRouter)
.globalResources('./router-view', './route-href');

config.container.registerAlias(Router, AppRouter);
}

export {
Expand Down

0 comments on commit 8c62f59

Please sign in to comment.