Change controllers to array controllers
This commit is contained in:
Родитель
8e1bc3df3c
Коммит
6dc4ef18cb
|
@ -1,6 +1,6 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
|
|
||||||
export default Ember.Controller.extend({
|
export default Ember.ArrayController.extend({
|
||||||
needs: ['player'],
|
needs: ['player'],
|
||||||
|
|
||||||
sortAscending: false,
|
sortAscending: false,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import Ember from 'ember';
|
import Ember from 'ember';
|
||||||
|
|
||||||
export default Ember.Controller.extend({
|
export default Ember.ArrayController.extend({
|
||||||
sortProperties: ['title']
|
sortProperties: ['title']
|
||||||
});
|
});
|
||||||
|
|
Загрузка…
Ссылка в новой задаче