open-nomad/ui/app/controllers/freestyle.js
2018-07-03 12:30:34 -07:00

17 lines
372 B
JavaScript

import { inject as service } from '@ember/service';
import FreestyleController from 'ember-freestyle/controllers/freestyle';
export default FreestyleController.extend({
queryParams: {
currentPage: 'page',
sortProperty: 'sort',
sortDescending: 'desc',
},
currentPage: 1,
sortProperty: 'name',
sortDescending: true,
emberFreestyle: service(),
});