aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo
diff options
context:
space:
mode:
authorgreta <gretadoci@gmail.com>2022-08-29 15:11:41 +0200
committerChristopher Ng <chrng8@gmail.com>2022-09-14 20:17:01 +0000
commit02cc42d40ae7334609a3270ee1d16eec75098aa6 (patch)
treed6668a5a9834f70d300d0e3384ed7293dbd9b0c7 /apps/theming/appinfo
parentbd03c7978537334822f1fc05049045d89cc56533 (diff)
downloadnextcloud-server-02cc42d40ae7334609a3270ee1d16eec75098aa6.tar.gz
nextcloud-server-02cc42d40ae7334609a3270ee1d16eec75098aa6.zip
Move background settings from dashboard app to Appearance and accessibility settings
Signed-off-by: greta <gretadoci@gmail.com> Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/theming/appinfo')
-rw-r--r--apps/theming/appinfo/routes.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php
index fa8dde90786..0b51b22dbb7 100644
--- a/apps/theming/appinfo/routes.php
+++ b/apps/theming/appinfo/routes.php
@@ -78,6 +78,16 @@ return [
'verb' => 'GET',
'requirements' => ['image' => '.+']
],
+ [
+ 'name' => 'userTheme#getBackground',
+ 'url' => '/background',
+ 'verb' => 'GET',
+ ],
+ [
+ 'name' => 'userTheme#setBackground',
+ 'url' => '/background/{type}',
+ 'verb' => 'POST',
+ ],
],
'ocs' => [
[