diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-05 22:09:38 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-06 14:05:53 +0100 |
commit | 78efb1972e7d3153e431dcda804e4c038ffb5ddf (patch) | |
tree | 0130f6ad25e9d1c31eaecb43a7efbfd5020324ef /settings/routes.php | |
parent | 95a8964cc87afc6ed9b08502b53e683fbaa63e03 (diff) | |
download | nextcloud-server-78efb1972e7d3153e431dcda804e4c038ffb5ddf.tar.gz nextcloud-server-78efb1972e7d3153e431dcda804e4c038ffb5ddf.zip |
Fix route and js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/settings/routes.php b/settings/routes.php index 829474ce2bb..58a57606312 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -67,6 +67,7 @@ $application->registerRoutes($this, [ ['name' => 'AdminSettings#form', 'url' => '/settings/admin/{section}', 'verb' => 'GET'], ['name' => 'ChangePassword#changePersonalPassword', 'url' => '/settings/personal/changepassword', 'verb' => 'POST'], ['name' => 'ChangePassword#changeUserPassword', 'url' => '/settings/users/changepassword', 'verb' => 'POST'], + ['name' => 'Personal#setLanguage', 'url' => '/settings/ajax/setlanguage.php', 'verb' => 'POST'], ] ]); @@ -88,10 +89,7 @@ $this->create('settings_ajax_togglegroups', '/settings/ajax/togglegroups.php') $this->create('settings_ajax_togglesubadmins', '/settings/ajax/togglesubadmins.php') ->actionInclude('settings/ajax/togglesubadmins.php'); $this->create('settings_ajax_changegorupname', '/settings/ajax/changegroupname.php') - ->actionInclude('settings/ajax/changegroupname.php'); -// personal -$this->create('settings_ajax_setlanguage', '/settings/ajax/setlanguage.php') - ->actionInclude('settings/ajax/setlanguage.php'); + ->actionInclude('settings/ajax/changegroupname.php'); // apps $this->create('settings_ajax_enableapp', '/settings/ajax/enableapp.php') ->actionInclude('settings/ajax/enableapp.php'); |