Skip to content

Instantly share code, notes, and snippets.

@bcardarella
Created August 10, 2015 14:22
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 bcardarella/e9f9825b16ad5f554e5a to your computer and use it in GitHub Desktop.
Save bcardarella/e9f9825b16ad5f554e5a to your computer and use it in GitHub Desktop.
certificates: computed(function() {
return PromiseManyArray.create({
promise: this.store.query('transfer', { user_id: get(this, 'id') })
.then(records => {
// this.notifyPropertyChange('certificates');
return records;
})
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment