Vulcan/client/views/errors/no_account.js
Tom Coleman 72d8115b1b New router is working, to some degree.
I switched over to router 2.0, and refactored the permissions a bit.
There's still a bit of work needed to get the permissions fully up to speed.
2012-11-21 14:28:18 +11:00

12 lines
No EOL
260 B
JavaScript

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