Skip to content

Commit

Permalink
revert to older react-router syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
natew committed Feb 6, 2015
1 parent 1e590ae commit 536437a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-router/RoutedViewListMixin.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var { State, Navigation } = require('react-router');
var RouteHandlerMixin = require('react-router/modules/RouteHandlerMixin');
var RouteHandlerMixin = require('react-router/mixins/RouteHandler');

// mixin for viewlists
// works with react-router and gives some helper functions
Expand Down Expand Up @@ -28,7 +28,7 @@ module.exports = {
return;

var childProps = Object.assign({}, {key: this.subRouteKey()}, props);
return this.createChildRouteHandler(childProps);
return this.getRouteHandler(childProps);
},

// todo: debug why this is called more than it should be
Expand Down

0 comments on commit 536437a

Please sign in to comment.