Refactor species/show

This commit is contained in:
Matthew Dillon 2015-11-03 09:22:04 -07:00
parent 2b2489a35a
commit d1e3d05db2
8 changed files with 106 additions and 69 deletions

View file

@ -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(() => {