11 lines
229 B
JavaScript
11 lines
229 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Controller.extend({
|
|
actions: {
|
|
delete: function() {
|
|
this.get('model').destroyRecord()
|
|
this.transitionToRoute('protected.characteristics.index');
|
|
},
|
|
},
|
|
|
|
});
|