This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/strains/show/controller.js
2015-10-12 10:46:13 -07:00

11 lines
222 B
JavaScript

import Ember from 'ember';
export default Ember.Controller.extend({
actions: {
delete: function() {
this.get('model').destroyRecord();
this.transitionToRoute('protected.strains.index');
},
},
});