server/bo_client/app/adapters/application.js
author nowmad@23.1.168.192.in-addr.arpa
Fri, 22 Jan 2016 16:03:37 +0100
changeset 104 bd3747a1cd5f
parent 32 9765cf7cf817
child 107 16e1473a6a99
permissions -rw-r--r--
update Readme and change baseStatic value with php function in corpus.module

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

export default RESTAdapter.extend({
  namespace: ENV.baseURL.replace(/\/$/,"")+'/api/v1',
});