Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2016-08-14 13:24:51 +0300
committerJulius Haertl <jus@bitgrid.net>2016-11-18 12:23:22 +0300
commit2d65b8c600580cd64aa599a791a467101b873c5a (patch)
treeea138f9e88072bb220ef352f3c911264510692cd /apps/theming/appinfo
parentda6285b84f175640622a020f2d9258cee86a3c14 (diff)
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')
-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' => '.+')