Begin refactoring strains/show

Will address measurements table later
This commit is contained in:
Matthew Dillon 2015-11-10 11:41:04 -07:00
parent 85d861da27
commit 04486880a0
7 changed files with 139 additions and 117 deletions

View file

@ -1,8 +1,10 @@
import Ember from 'ember';
export default Ember.Route.extend({
const { Route } = Ember;
export default Route.extend({
model: function(params) {
return this.store.findRecord('strain', params.strain_id, { reload: true });
return this.store.findRecord('strain', params.strain_id);
},
});