One possible solution might be to hook into the buildURL
function of your RESTAdapter
and adding the .json
suffix yourself. This could look something like this:
App.Adapter = DS.RESTAdapter.extend({
buildURL: function(record, suffix) {
var url = this._super(record, suffix);
return url + ".json";
}
})
Hope it helps.