don't break back button on bail
This commit is contained in:
parent
6c93791979
commit
e8f36e4e26
1 changed files with 1 additions and 1 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