equal
deleted
inserted
replaced
22 promise.then(function(value) { |
22 promise.then(function(value) { |
23 if (self.get('themes').length) { |
23 if (self.get('themes').length) { |
24 value = self.get('themes').pushObjects(value.get('content')); |
24 value = self.get('themes').pushObjects(value.get('content')); |
25 } |
25 } |
26 self.set('themes', value); |
26 self.set('themes', value); |
27 }) |
27 }); |
28 return promise; |
28 return promise; |
29 }), |
29 }), |
30 |
30 |
31 setupController: function(controller, model) { |
31 setupController: function(controller) { |
32 this._super(...arguments); |
32 this._super(...arguments); |
33 controller.set('all', this.get('all')); |
33 controller.set('all', this.get('all')); |
34 // Add ArrayProxy to template context. |
34 // Add ArrayProxy to template context. |
35 controller.set('themes', this.get('themes')); |
35 controller.set('themes', this.get('themes')); |
36 }, |
36 }, |