Vulcan/client/views/errors/no_account.js
Tarang Patel 39eb1c8e0a Update Events
Move from using depreciated event declaration style. Still supported
not sure if future proof (see
https://github.com/meteor/meteor/blob/devel/packages/templating/deftempl
ate.js#L184)
2013-11-24 16:13:53 +02:00

12 lines
No EOL
252 B
JavaScript

Template.no_account.helpers({
landingPageText: function(){
return getSetting("landingPageText");
}
});
Template.no_account.events({
'click .twitter-button': function(){
Meteor.loginWithTwitter(function(){
Router.go('/');
});
}
});