Pulling stuff back out of strain component

This commit is contained in:
Matthew Dillon 2015-06-03 13:38:40 -08:00
parent 7260b95937
commit 033ff530d2
9 changed files with 67 additions and 24 deletions

View file

@ -7,9 +7,7 @@ export default Ember.Route.extend({
species: this.store.findAll('species')
});
},
actions: {
cancelStrain: function() {
this.transitionTo('strains.index');
}
}
setupController: function(controller, models) {
controller.setProperties(models);
},
});

View file

@ -6,5 +6,8 @@ export default Ember.Route.extend({
strain: this.store.find('strain', params.strain_id),
species: this.store.findAll('species')
});
}
},
setupController: function(controller, models) {
controller.setProperties(models);
},
});