From cc8b295e96d21bba995a2e0bdc15322f3db6d1bc Mon Sep 17 00:00:00 2001 From: vrde Date: Fri, 17 Jul 2015 18:01:22 +0200 Subject: [PATCH] Fix logout route --- js/components/logout_container.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/components/logout_container.js b/js/components/logout_container.js index 3753d832..713cac7c 100644 --- a/js/components/logout_container.js +++ b/js/components/logout_container.js @@ -7,6 +7,8 @@ let Link = Router.Link; import UserActions from '../actions/user_actions'; import Alt from '../alt'; +import AppConstants from '../constants/application_constants'; +let baseUrl = AppConstants.baseUrl; let LogoutContainer = React.createClass({ @@ -17,7 +19,7 @@ let LogoutContainer = React.createClass({ Alt.flush(); // kill intercom (with fire) window.Intercom('shutdown'); - this.transitionTo('/'); + this.transitionTo(baseUrl); }, render() {