1
0
Fork 0
mirror of https://github.com/TryGhost/Ghost-Admin.git synced 2023-12-14 02:33:04 +01:00

Merge pull request #3633 from halfdan/3630-revoke-user

Fix revoke user invite and user.destroy
This commit is contained in:
Hannah Wolfe 2014-08-06 22:29:33 +01:00
commit 836b77896c

View file

@ -32,6 +32,12 @@ var UserAdapter = EmbeddedRelationAdapter.extend({
// Use the url from the ApplicationAdapter's buildURL method
return this.ajax(url, 'PUT', { data: data });
},
find: function (store, type, id) {
var url = this.buildQuery(store, type, id);
url.status = 'all';
return this.findQuery(store, type, url);
}
});