From 2d65b8c600580cd64aa599a791a467101b873c5a Mon Sep 17 00:00:00 2001 From: Julius Haertl Date: Sun, 14 Aug 2016 12:24:51 +0200 Subject: Theming: Add favicon-touch and fix icon creation with non svg images Signed-off-by: Julius Haertl --- apps/theming/appinfo/routes.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'apps/theming/appinfo') 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 @@ -66,9 +66,15 @@ return ['routes' => [ 'verb' => 'GET', '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' => '.+') -- cgit v1.2.3