Oops — extend, not reopen.

This commit is contained in:
Matthew Dillon 2015-04-22 11:06:30 -08:00
parent 238b5fdd52
commit b337ca0ee4
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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,