open-nomad/ui/app/controllers/freestyle.js

17 lines
372 B
JavaScript
Raw Normal View History

import { inject as service } from '@ember/service';
2017-09-19 14:47:10 +00:00
import FreestyleController from 'ember-freestyle/controllers/freestyle';
export default FreestyleController.extend({
2018-07-03 19:30:34 +00:00
queryParams: {
currentPage: 'page',
sortProperty: 'sort',
sortDescending: 'desc',
},
currentPage: 1,
sortProperty: 'name',
sortDescending: true,
emberFreestyle: service(),
2017-09-19 14:47:10 +00:00
});