diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-02-26 13:54:00 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-04-19 20:14:38 +0200 |
commit | 272b392cacdf34d2166105c91b0a06de3e51ed06 (patch) | |
tree | 6df721b89919f811ff60b225622a23211ef11aff /apps/theming/appinfo | |
parent | 0bae516c66efe9004d0a8ff504e0deb0069fc9d9 (diff) | |
download | nextcloud-server-272b392cacdf34d2166105c91b0a06de3e51ed06.tar.gz nextcloud-server-272b392cacdf34d2166105c91b0a06de3e51ed06.zip |
Move to more generic image handling and add extra images
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/appinfo')
-rw-r--r-- | apps/theming/appinfo/routes.php | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php index a69ddc1a6c9..f3483dbf99b 100644 --- a/apps/theming/appinfo/routes.php +++ b/apps/theming/appinfo/routes.php @@ -39,8 +39,8 @@ return ['routes' => [ 'verb' => 'POST' ], [ - 'name' => 'Theming#updateLogo', - 'url' => '/ajax/updateLogo', + 'name' => 'Theming#uploadImage', + 'url' => '/ajax/uploadImage', 'verb' => 'POST' ], [ @@ -49,13 +49,8 @@ return ['routes' => [ 'verb' => 'GET', ], [ - 'name' => 'Theming#getLogo', - 'url' => '/logo', - 'verb' => 'GET', - ], - [ - 'name' => 'Theming#getLoginBackground', - 'url' => '/loginbackground', + 'name' => 'Theming#getImage', + 'url' => '/image/{key}', 'verb' => 'GET', ], [ |