Skip to content

Instantly share code, notes, and snippets.

View FabHof's full-sized avatar
⛰️

Fabian Schmalzried FabHof

⛰️
  • Stuttgart, Germany
View GitHub Profile
@FabHof
FabHof / adapters.album.js
Last active April 9, 2019 16:24 — forked from cah-brian-gantzler/adapters.album.js
demo ember-models-table async filter/sort
import DS from "ember-data";
export default DS.RESTAdapter.extend({
//namespace: 'api',
host: 'https://jsonplaceholder.typicode.com',
//coalesceFindRequests: true
handleResponse: function handleResponse(status, headers, payload, requestData) {
let result = this._super(...arguments);
result = {album: result}
return result;