This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/compare/results/route.js
2015-07-13 16:16:54 -08:00

11 lines
339 B
JavaScript

import Ember from 'ember';
export default Ember.Route.extend({
model: function(params) {
let compare = this.controllerFor('protected.compare');
compare.set('selectedStrains', params.strain_ids);
compare.set('selectedCharacteristics', params.characteristic_ids);
return this.store.query('measurement', params);
},
});