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/characteristics/index/controller.js
2015-09-04 10:47:32 -07:00

6 lines
219 B
JavaScript

import Ember from 'ember';
export default Ember.Controller.extend({
sortParams: ['characteristicTypeName', 'sortOrder', 'characteristicName'],
sortedCharacteristics: Ember.computed.sort('model', 'sortParams'),
});