diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-01-23 17:08:45 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-01-23 17:08:45 +0100 |
commit | e3ae4ea0bebc05e7ef16326501a9654ca9095310 (patch) | |
tree | db2d945082ea76a00b472f9ab5b7077e38c22804 /js/controller/NavigationController.js | |
parent | 120a94582f62da9cf3ed32ad611ccdd226e5a751 (diff) |
add german feeds and allow to change the language
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r-- | js/controller/NavigationController.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/controller/NavigationController.js b/js/controller/NavigationController.js index 800978b16..160f77bac 100644 --- a/js/controller/NavigationController.js +++ b/js/controller/NavigationController.js @@ -25,6 +25,10 @@ function ($route, FEED_TYPE, FeedResource, FolderResource, ItemResource, return parseInt($route.current.params.id, 10); }; + this.getLanguageCode = function () { + return SettingsResource.get('language'); + }; + this.getFeeds = function () { return FeedResource.getAll(); }; |