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/strains/index/controller.js
2015-07-10 09:29:12 -08:00

11 lines
312 B
JavaScript

import Ember from 'ember';
export default Ember.Controller.extend({
sortParams: ['fullNameMU', 'totalMeasurements'],
sortedStrains: Ember.computed.sort('model', 'sortParams'),
metaData: function() {
return Ember.copy(this.store.metadataFor('strain'));
}.property('model.isLoaded').readOnly(),
});