summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 40cf23149..9acce6661 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -193,6 +193,11 @@ $this->create('news_usersettings_read_hide', '/usersettings/read/hide')->post()-
}
);
+$this->create('news_usersettings_language', '/usersettings/language')->get()->action(
+ function($params){
+ App::main('UserSettingsController', 'getLanguage', $params, new DIContainer());
+ }
+);