1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 08:37:59 +02:00

Implement new routine for routeDidChange

This commit is contained in:
Tim Daubenschütz 2015-10-01 15:17:55 +02:00
parent 8ba6f11dfe
commit 8f9b5c7f27

View File

@ -83,6 +83,9 @@ class AppGateway {
EventActions.applicationWillBoot(settings);
let history = createBrowserHistory();
history.listen(EventActions.routeDidChange);
React.render((
<Router history={history}>
<Redirect from="/" to="/collection" />