diff --git a/app/adapters/application.js b/app/adapters/application.js index df3f515..b04bea0 100644 --- a/app/adapters/application.js +++ b/app/adapters/application.js @@ -1,7 +1,7 @@ import DS from 'ember-data'; import config from '../config/environment'; -export default DS.RESTAdapter.reopen({ +export default DS.RESTAdapter.extend({ namespace: 'api/' + config.genus, host: config.apiURL, coalesceFindRequests: true, diff --git a/app/adapters/user.js b/app/adapters/user.js index d4b9efb..9ba7563 100644 --- a/app/adapters/user.js +++ b/app/adapters/user.js @@ -1,7 +1,7 @@ import DS from 'ember-data'; import config from '../config/environment'; -export default DS.RESTAdapter.reopen({ +export default DS.RESTAdapter.extend({ namespace: 'api', host: config.apiURL, coalesceFindRequests: true,