From b337ca0ee4bd881555607e796f3253429cb76395 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 22 Apr 2015 11:06:30 -0800 Subject: [PATCH] =?UTF-8?q?Oops=20=E2=80=94=20extend,=20not=20reopen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/adapters/application.js | 2 +- app/adapters/user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,