it seems that before has been deprecated

with the current template I get

<deprecated> [RouteController] 'before' is deprecated. Please use 'onBeforeAction' instead.

I'm using latest version of both Meteor (0.8.0) and iron-router (0.7.0)