mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00

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.
12 lines
No EOL
260 B
JavaScript
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('/');
|
|
});
|
|
}
|
|
}; |