server/bo_client/app/adapters/application.js
author ymh <ymh.work@gmail.com>
Thu, 25 Feb 2016 10:20:01 +0100
changeset 130 fac22d8c2df8
parent 107 16e1473a6a99
child 263 3deace9204de
permissions -rw-r--r--
add subjects to model + simple display on bo + add command to downloads documents to fixtures for test

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

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