Created
March 28, 2015 13:26
-
-
Save jgdovin/e56271f1d572d0dcadd2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Accounts = new Mongo.Collection('accounts', { | |
transform: function (account) { | |
account.label = function(){ | |
return this.name; | |
}; | |
return account; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment