Fix back button for default route.
This commit is contained in:
parent
bc01dad847
commit
b6daeaab5a
3 changed files with 5 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ module.exports = function($window, redrawService) {
|
|||
if (render != null) redrawService.render(root, render(Vnode(component, attrs.key, attrs)))
|
||||
}
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue