This repository has been archived on 2025-03-30. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
hymenobacterdotinfo/app/pods/protected/compare/controller.js
2015-07-13 16:16:54 -08:00

14 lines
346 B
JavaScript

import Ember from 'ember';
export default Ember.Controller.extend({
actions: {
search: function() {
let query = {
strain_ids: this.get('selectedStrains'),
characteristic_ids: this.get('selectedCharacteristics'),
};
this.transitionToRoute('protected.compare.results', {queryParams: query});
}
}
});