Fix adding ssh key

This commit is contained in:
Piotr Sarnacki 2015-12-09 11:58:10 +01:00
parent 9a55449789
commit b2b892238b

View File

@ -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`