Delete characteristic

This commit is contained in:
Matthew Dillon 2015-10-12 10:20:17 -07:00
parent 5be2888223
commit a1e4e03b89
4 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,11 @@
import Ember from 'ember';
export default Ember.Controller.extend({
actions: {
delete: function() {
this.get('model').destroyRecord()
this.transitionToRoute('protected.characteristics.index');
},
},
});