aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/appinfo/routes.php')
-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' => [
[