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/species/index/controller.js
2015-07-07 16:55:40 -08:00

11 lines
298 B
JavaScript

import Ember from 'ember';
export default Ember.Controller.extend({
sortParams: ['speciesName', 'strainCount'],
sortedSpecies: Ember.computed.sort('species', 'sortParams'),
metaData: function() {
return this.store.metadataFor('species');
}.property('model.isLoaded').readOnly(),
});