Stop creating unnecessary characteristic

This commit is contained in:
Matthew Dillon 2015-12-02 11:18:18 -07:00
parent 0956ef3a25
commit e283f3f046
2 changed files with 4 additions and 10 deletions

View file

@ -55,9 +55,7 @@ export default Controller.extend({
},
addMeasurement: function() {
return this.store.createRecord('measurement', {
characteristic: this.store.createRecord('characteristic', { sortOrder: -999 }),
});
return this.store.createRecord('measurement');
},
},