0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/app/adapters/user.js

12 lines
338 B
JavaScript
Raw Normal View History

import ApplicationAdapter from 'ghost/adapters/application';
export default ApplicationAdapter.extend({
find: function (store, type, id) {
return this.findQuery(store, type, {id: id, status: 'all'});
},
findAll: function (store, type, id) {
return this.query(store, type, {id: id, status: 'all'});
}
});