diff --git a/app/adapters/ssh-key.coffee b/app/adapters/ssh-key.coffee index f4bad312..1c052a97 100644 --- a/app/adapters/ssh-key.coffee +++ b/app/adapters/ssh-key.coffee @@ -19,6 +19,7 @@ Adapter = ApplicationAdapter.extend id = Ember.get(record, 'id') - this.ajax(this.urlPrefix() + '/ssh_key/' + id, "PATCH", { data: data }) + this.ajax(this.urlPrefix() + '/ssh_key/' + id, "PATCH", { data: data }).then (data) -> + data.ssh_key `export default Adapter`