Skip to content

Instantly share code, notes, and snippets.

@alanhoff
Created August 18, 2015 01:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanhoff/c14c94fc672994e18981 to your computer and use it in GitHub Desktop.
Save alanhoff/c14c94fc672994e18981 to your computer and use it in GitHub Desktop.
scopes: {
public: function() {
return {
attributes: Object.keys(attributes).filter(function(attr) {
return ['deleted', 'location'].indexOf(attr) === -1;
})
};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment