Skip to content

Commit

Permalink
Closes #291 - Changed _setup to use kbnUrl.change() instead of
Browse files Browse the repository at this point in the history
kbnUrl.changePath()
  • Loading branch information
simianhacker committed Sep 9, 2014
1 parent 19fe0ed commit 3fef72a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/kibana/utils/routes/_setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ define(function (require) {
if (err instanceof NoDefaultIndexPattern || err instanceof NoDefinedIndexPatterns) {
// .change short circuits the routes by calling $route.refresh(). We can safely swallow this error
// after reporting it to the user
kbnUrl.changePath('/settings/indices');
kbnUrl.change('/settings/indices');
(new Notifier()).error(err);
} else {
return Promise.reject(err);
}
}
};
};
});
});

0 comments on commit 3fef72a

Please sign in to comment.