Cleaning up species and strains

This commit is contained in:
Matthew Dillon 2015-07-09 09:26:55 -08:00
parent 01a3075655
commit 780b5ddb6c
13 changed files with 59 additions and 65 deletions

View file

@ -5,10 +5,14 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
model: function() {
return Ember.RSVP.hash({
strain: this.store.createRecord('strain'),
species: this.store.findAll('species'),
species: this.store.findAll('species'), // Need for dropdown
});
},
afterModel: function(models) {
console.log('after model');
},
setupController: function(controller, models) {
controller.setProperties(models);
},