summaryrefslogtreecommitdiffstats
path: root/js/controller/NavigationController.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/controller/NavigationController.js')
-rw-r--r--js/controller/NavigationController.js4
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();
};