aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo/routes.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-10-20 13:18:06 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-11-29 11:22:13 +0100
commitcedae7c6d74e11c8aaa59b09a38db04dbebc818d (patch)
treeb95c77675542e0654084dd41f5d1f07a413b4db7 /apps/theming/appinfo/routes.php
parenta884f311b78341612adeb6d62f707dda1bae39e7 (diff)
downloadnextcloud-server-cedae7c6d74e11c8aaa59b09a38db04dbebc818d.tar.gz
nextcloud-server-cedae7c6d74e11c8aaa59b09a38db04dbebc818d.zip
Allow to remove the background and select a custom colour
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/appinfo/routes.php')
-rw-r--r--apps/theming/appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php
index 0b51b22dbb7..eceb447620d 100644
--- a/apps/theming/appinfo/routes.php
+++ b/apps/theming/appinfo/routes.php
@@ -88,6 +88,11 @@ return [
'url' => '/background/{type}',
'verb' => 'POST',
],
+ [
+ 'name' => 'userTheme#deleteBackground',
+ 'url' => '/background/custom',
+ 'verb' => 'DELETE',
+ ],
],
'ocs' => [
[