More species-strain detail

This commit is contained in:
Matthew Dillon 2015-06-03 11:08:43 -08:00
parent f3aaa4739d
commit 7260b95937
8 changed files with 46 additions and 13 deletions

View file

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