2017-12-15 21:39:18 +00:00
|
|
|
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,
|
|
|
|
|
2017-12-15 21:39:18 +00:00
|
|
|
emberFreestyle: service(),
|
2017-09-19 14:47:10 +00:00
|
|
|
});
|