Skip to content

Instantly share code, notes, and snippets.

@icemancast
Created January 13, 2014 16:29
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 icemancast/8403221 to your computer and use it in GitHub Desktop.
Save icemancast/8403221 to your computer and use it in GitHub Desktop.
// List all elements from routes promise
listIt: function () {
users = this.get('controllers.application.users');
return users
}.property('users'),
deleteUser: function (key) {
messageMethod.build('User', 'DELETE', '', key, function (data) {
console.log('deleted');
});
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment