diff options
Diffstat (limited to 'js/controller/ContentController.js')
-rw-r--r-- | js/controller/ContentController.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/controller/ContentController.js b/js/controller/ContentController.js index 51309a93d..8e4632f7e 100644 --- a/js/controller/ContentController.js +++ b/js/controller/ContentController.js @@ -7,17 +7,17 @@ * @author Bernhard Posselt <dev@bernhard-posselt.com> * @copyright Bernhard Posselt 2014 */ -app.controller('ContentController', function (Publisher, Feed, Item, data) { +app.controller('ContentController', function (Publisher, FeedResource, ItemResource, data) { 'use strict'; // distribute data to models based on key Publisher.publishAll(data); this.getItems = function () { - return Item.getAll(); + return ItemResource.getAll(); }; this.getFeeds = function () { - return Feed.getAll(); + return FeedResource.getAll(); }; });
\ No newline at end of file |