More species-strain detail
This commit is contained in:
parent
f3aaa4739d
commit
7260b95937
8 changed files with 46 additions and 13 deletions
|
@ -2,7 +2,10 @@ import Ember from 'ember';
|
|||
|
||||
export default Ember.Route.extend({
|
||||
model: function() {
|
||||
return this.store.createRecord('strain');
|
||||
return Ember.RSVP.hash({
|
||||
strain: this.store.createRecord('strain'),
|
||||
species: this.store.findAll('species')
|
||||
});
|
||||
},
|
||||
actions: {
|
||||
cancelStrain: function() {
|
||||
|
|
Reference in a new issue