// @flow
import { browserHistory } from 'react-router';
import config from 'config';

export const push = (to: string) => browserHistory.push(config.getUrl + to);
export const getUrl = (to: string) => `${config.getUrl}${to}`;

export default {
  push,
  getUrl,
};

@@ -142,22 +142,25 @@
 (config.
-getUrl
+urlPrefix
  + to);%0A
@@ -207,22 +207,25 @@
 %7Bconfig.
-getUrl
+urlPrefix
 %7D$%7Bto%7D%60;

fix undefined route (#136)