# HG changeset patch # User nowmad@23.1.168.192.in-addr.arpa # Date 1453475872 -3600 # Node ID 63b9014bb58bd5c67f4edbdfbdf65e666b6afe1d # Parent bd3747a1cd5f047aff31d5ad8e1214d22ed47a95 some more specification about API config in ember adapters diff -r bd3747a1cd5f -r 63b9014bb58b cms/app-client/README.md --- a/cms/app-client/README.md Fri Jan 22 16:03:37 2016 +0100 +++ b/cms/app-client/README.md Fri Jan 22 16:17:52 2016 +0100 @@ -41,4 +41,9 @@ ## Api configuration -* As Ember advices, all the logic of the api (host, namespace), is located in /adapters/application.js +* As Ember advices, all the logic of the api (host, namespace), is located in `adapters/application.js`. +* Two ways are provided: + * `Fixture`: deprecated in Ember and have been move out. We know use `ember-data-fixture-adapter` which provides the same behavior. +**However** it doesn't allow the use of `this.store.findRecord(...)` function. In our case it won't trigger the api request for the full document information (therefore doesn't get the sound urls). --> **Only use for testing** + + * `RESTAdapter`: The Common way of plugging in Ember with a Rest server.