Skip to content

Commit 8b6997c

Browse files
GretaDPytal
authored andcommitted
Add settings background to theming instead of dashboard
Signed-off-by: greta <gretadoci@gmail.com>
1 parent ef97361 commit 8b6997c

21 files changed

Lines changed: 53 additions & 18 deletions

apps/dashboard/appinfo/routes.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
['name' => 'dashboard#index', 'url' => '/', 'verb' => 'GET'],
3030
['name' => 'dashboard#updateLayout', 'url' => '/layout', 'verb' => 'POST'],
3131
['name' => 'dashboard#updateStatuses', 'url' => '/statuses', 'verb' => 'POST'],
32-
['name' => 'dashboard#getBackground', 'url' => '/background', 'verb' => 'GET'],
33-
['name' => 'dashboard#setBackground', 'url' => '/background/{type}', 'verb' => 'POST'],
32+
['name' => 'theming#getBackground', 'url' => '/background', 'verb' => 'GET'],
33+
['name' => 'theming#setBackground', 'url' => '/background/{type}', 'verb' => 'POST'],
3434
],
3535
'ocs' => [
3636
['name' => 'dashboardApi#getWidgetItems', 'url' => '/api/v1/widget-items', 'verb' => 'GET'],

apps/theming/appinfo/routes.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,10 @@
9090
'url' => '/api/v1/theme/{themeId}',
9191
'verb' => 'DELETE',
9292
],
93+
[
94+
'name' => 'theming#getBackground',
95+
'url' => '/background',
96+
'verb' => 'GET',
97+
],
9398
]
9499
];
1.02 MB
Loading
1.11 MB
Loading
249 KB
Loading
1.63 MB
Loading
1.73 MB
Loading
523 KB
Loading
1.14 MB
Loading
1 MB
Loading

0 commit comments

Comments
 (0)