diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-04-21 11:19:10 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-21 11:29:38 +0100 |
commit | d1233b47b0d96df364a1b5c043cabedc74d5eb01 (patch) | |
tree | 314e658c1c5f162ba197811225800f07074ac8c5 /settings/routes.php | |
parent | 78f6e29954ed3c0e868d4eccdc95e4b6e8febdea (diff) | |
download | nextcloud-server-d1233b47b0d96df364a1b5c043cabedc74d5eb01.tar.gz nextcloud-server-d1233b47b0d96df364a1b5c043cabedc74d5eb01.zip |
use PUT to update user settings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/routes.php b/settings/routes.php index ac4ade4f14a..d4286cd56ff 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -50,7 +50,7 @@ $application->registerRoutes($this, [ ['name' => 'AppSettings#viewApps', 'url' => '/settings/apps', 'verb' => 'GET'], ['name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET'], ['name' => 'SecuritySettings#trustedDomains', 'url' => '/settings/admin/security/trustedDomains', 'verb' => 'POST'], - ['name' => 'Users#saveUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'POST'], + ['name' => 'Users#saveUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'PUT'], ['name' => 'Users#stats', 'url' => '/settings/users/stats', 'verb' => 'GET'], ['name' => 'LogSettings#setLogLevel', 'url' => '/settings/admin/log/level', 'verb' => 'POST'], ['name' => 'LogSettings#getEntries', 'url' => '/settings/admin/log/entries', 'verb' => 'GET'], |