Pulling stuff back out of strain component
This commit is contained in:
parent
7260b95937
commit
033ff530d2
9 changed files with 67 additions and 24 deletions
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
|
|
@ -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);
|
||||
},
|
||||
});
|
||||
|
|
Reference in a new issue