--- a/cms/app-client/mirage/config.js Tue Sep 27 23:43:29 2016 +0200
+++ b/cms/app-client/mirage/config.js Wed Sep 28 15:58:18 2016 +0200
@@ -30,15 +30,15 @@
return transcripts.find(id).transcript;
});
- this.get('/languages');
+ this.get('/stats/languages', 'languages');
- this.get('/geostats');
+ this.get('/stats/geostats', 'geostats');
- this.get('/themes');
+ this.get('/stats/themes', 'themes');
- this.get('/discourses');
+ this.get('/stats/discourses', 'discourses');
- this.get('/lexvo/:ids', ({lexvos}, request) => {
+ this.get('/resolvers/lexvo/:ids', ({lexvos}, request) => {
var langIds = decodeURIComponent(request.params.ids);
var resMap = _.reduce(langIds.split(','), function(res, id) {
var fullId = id;
@@ -54,7 +54,7 @@
};
});
- this.get('/bnf/:ids', ({ bnfs }, request) => {
+ this.get('/resolvers/bnf/:ids', ({ bnfs }, request) => {
var bnfIds = decodeURIComponent(request.params.ids);
var resMap = _.reduce(bnfIds.split(','), function(res, id) {
var fullId = id;
@@ -74,7 +74,7 @@
};
});
- this.get('/geonames/:ids', ({ geonames }, request) => {
+ this.get('/resolvers/geonames/:ids', ({ geonames }, request) => {
var geonamesIds = decodeURIComponent(request.params.ids);
var resMap = _.reduce(geonamesIds.split(','), function(res, id) {
var code = id;