From 6dc4ef18cb900fccde5828dcb3e30f47ec7bb720 Mon Sep 17 00:00:00 2001 From: Brittany Storoz Date: Fri, 17 Jul 2015 20:48:39 -0400 Subject: [PATCH] Change controllers to array controllers --- app/controllers/episodes.js | 2 +- app/controllers/podcasts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/episodes.js b/app/controllers/episodes.js index 4b7a3fe..ce6505e 100644 --- a/app/controllers/episodes.js +++ b/app/controllers/episodes.js @@ -1,6 +1,6 @@ import Ember from 'ember'; -export default Ember.Controller.extend({ +export default Ember.ArrayController.extend({ needs: ['player'], sortAscending: false, diff --git a/app/controllers/podcasts.js b/app/controllers/podcasts.js index 4c2116e..4d0e81f 100644 --- a/app/controllers/podcasts.js +++ b/app/controllers/podcasts.js @@ -1,5 +1,5 @@ import Ember from 'ember'; -export default Ember.Controller.extend({ +export default Ember.ArrayController.extend({ sortProperties: ['title'] });