mystor / meteor-routecore

Client and server side rendering/routing powered by React
84 stars 6 forks source link

Preserve Meteor.user & Meteor.userId on server #3

Closed mystor closed 10 years ago

mystor commented 10 years ago

RouteCore overwrites Meteor.user and Meteor.userId on server when bindGlobals is run. Meteor provides these functions for use in Meteor methods.

They should no longer be overridden, and instead the same mechanism as Meteor methods should be used.