Clean up strain-species relationship

This commit is contained in:
Matthew Dillon 2015-06-03 09:25:26 -08:00
parent afcf24a8d8
commit f3aaa4739d
9 changed files with 29 additions and 11 deletions

View file

@ -2,6 +2,6 @@ import Ember from 'ember';
export default Ember.Route.extend({
model: function() {
return this.modelFor('strains/show').get('measurements');
return this.modelFor('strains/show').strain.get('measurements');
}
});