Copied starter Meteor App files.
Cut and paste of the BasicMeteorApp.
This commit is contained in:
8
imports/ui/helpers.js
Normal file
8
imports/ui/helpers.js
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
// General use helpers - available to all views.
|
||||
|
||||
UI.registerHelper('currentUserName', function() {
|
||||
if(Meteor.user()){
|
||||
return Meteor.user().emails[0].address;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user