Fix back button for default route.

This commit is contained in:
Bryce Gibson 2016-12-22 21:12:50 +11:00
parent bc01dad847
commit b6daeaab5a
3 changed files with 5 additions and 5 deletions

View file

@ -1098,7 +1098,7 @@ var _20 = function($window, redrawService0) {
if (render1 != null) redrawService0.render(root, render1(Vnode(component, attrs3.key, attrs3)))
}
var bail = function() {
routeService.setPath(defaultRoute)
routeService.setPath(defaultRoute, null, { replace: true })
}
routeService.defineRoutes(routes, function(payload, params, path) {
var update = lastUpdate = function(routeResolver, comp) {