From 20739c93a680d7085d0e71c0e4f9c0bb24018fb9 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 20 Apr 2016 17:03:50 +0200 Subject: Persist settings on the server Persist personal settings federated sharing scopes Show new settings fields in read-only mode too Insert values on page load Return updated values; show inline success feedback Signed-off-by: Roeland Jago Douma --- settings/routes.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'settings/routes.php') diff --git a/settings/routes.php b/settings/routes.php index 58a57606312..ac4ade4f14a 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -50,8 +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#setDisplayName', 'url' => '/settings/users/{username}/displayName', 'verb' => 'POST'], - ['name' => 'Users#setMailAddress', 'url' => '/settings/users/{id}/mailAddress', 'verb' => 'PUT'], + ['name' => 'Users#saveUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'POST'], ['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