author | Chloe Laisne <chloe.laisne@gmail.com> |
Sun, 02 Oct 2016 19:11:06 +0200 | |
changeset 313 | 706f10bcdc3c |
parent 263 | 3deace9204de |
child 304 | 20071981ba2a |
permissions | -rw-r--r-- |
32 | 1 |
import RESTAdapter from 'ember-data/adapters/rest'; |
28 | 2 |
import ENV from 'bo-client/config/environment'; |
4 | 3 |
|
32 | 4 |
export default RESTAdapter.extend({ |
263
3deace9204de
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)
ymh <ymh.work@gmail.com>
parents:
107
diff
changeset
|
5 |
namespace: ENV.rootURL.replace(/\/$/,"")+'/api/v1', |
107 | 6 |
//TODO: pass this as configuration |
7 |
//host: 'http://localhost:8000' |
|
4 | 8 |
}); |