Fixing App.Router.goTo() so that it removes the current app root