open-vault/ui/app/serializers/replication-attributes.js

11 lines
211 B
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
import Ember from 'ember';
import DS from 'ember-data';
const { decamelize } = Ember.String;
export default DS.RESTSerializer.extend({
keyForAttribute: function(attr) {
return decamelize(attr);
},
});