aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo/routes.php
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-08-14 12:24:51 +0200
committerJulius Haertl <jus@bitgrid.net>2016-11-18 10:23:22 +0100
commit2d65b8c600580cd64aa599a791a467101b873c5a (patch)
treeea138f9e88072bb220ef352f3c911264510692cd /apps/theming/appinfo/routes.php
parentda6285b84f175640622a020f2d9258cee86a3c14 (diff)
downloadnextcloud-server-2d65b8c600580cd64aa599a791a467101b873c5a.tar.gz
nextcloud-server-2d65b8c600580cd64aa599a791a467101b873c5a.zip
Theming: Add favicon-touch and fix icon creation with non svg images
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/appinfo/routes.php')
-rw-r--r--apps/theming/appinfo/routes.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php
index 1894d810287..a6511668d14 100644
--- a/apps/theming/appinfo/routes.php
+++ b/apps/theming/appinfo/routes.php
@@ -67,8 +67,14 @@ return ['routes' => [
'defaults' => array("app" => "core"),
],
[
+ 'name' => 'Icon#getTouchIcon',
+ 'url' => '/icon/{app}',
+ 'verb' => 'GET',
+ 'defaults' => array("app" => "core"),
+ ],
+ [
'name' => 'Icon#getThemedIcon',
- 'url' => '/image/{app}/{image}',
+ 'url' => '/img/{app}/{image}',
'verb' => 'GET',
'defaults' => array("app" => "core"),
'requirements' => array('image' => '.+')