Refactor species/show
This commit is contained in:
parent
2b2489a35a
commit
d1e3d05db2
8 changed files with 106 additions and 69 deletions
|
@ -1,6 +1,8 @@
|
|||
import Ember from 'ember';
|
||||
|
||||
export default Ember.Controller.extend({
|
||||
const { Controller } = Ember;
|
||||
|
||||
export default Controller.extend({
|
||||
actions: {
|
||||
delete: function() {
|
||||
this.get('model').destroyRecord().then(() => {
|
||||
|
|
Reference in a new issue