From d1233b47b0d96df364a1b5c043cabedc74d5eb01 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Thu, 21 Apr 2016 11:19:10 +0200 Subject: use PUT to update user settings Signed-off-by: Roeland Jago Douma --- settings/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'settings/routes.php') 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'], -- cgit v1.2.3