Oops — extend, not reopen.
This commit is contained in:
parent
238b5fdd52
commit
b337ca0ee4
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Reference in a new issue