server/bo_client/app/adapters/application.js
author ymh <ymh.work@gmail.com>
Tue, 11 Oct 2016 02:49:59 +0200
changeset 326 226d5b17a119
parent 304 20071981ba2a
child 517 3143195e91b4
permissions -rw-r--r--
- First implementation of filter for languages. - Language is now an array in the document - various corrections linked to the above change - Simplify the IndexDocumet loop

import RESTAdapter from 'ember-data/adapters/rest';
import ENV from 'bo-client/config/environment';

export default RESTAdapter.extend({
    namespace: ENV.rootURL.replace(/\/$/,'')+'/api/v1'
    //TODO: pass this as configuration
    //host: 'http://localhost:8000'
});