3f3544a3bb
No Issue - Generalize embedded-relation-adapter so it can be used for both fetching and saving records. - Change Adapter inheritance hierarchy to RESTAdapter => BaseAdapter => EmbeddedRelationAdapter. ApplicationAdapter now extends EmbeddedRelationAdapter. - Cleanup or remove adapters that existed just to extend directly from EmbeddedRelationAdapter.
10 lines
255 B
JavaScript
10 lines
255 B
JavaScript
import ApplicationAdapter from 'ghost/adapters/application';
|
|
|
|
var UserAdapter = ApplicationAdapter.extend({
|
|
find: function (store, type, id) {
|
|
return this.findQuery(store, type, {id: id, status: 'all'});
|
|
}
|
|
});
|
|
|
|
export default UserAdapter;
|