aboutsummaryrefslogtreecommitdiffstats
path: root/apps/theming/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/theming/appinfo/routes.php')
-rw-r--r--apps/theming/appinfo/routes.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/theming/appinfo/routes.php b/apps/theming/appinfo/routes.php
index 4a8d4bac5bc..1894d810287 100644
--- a/apps/theming/appinfo/routes.php
+++ b/apps/theming/appinfo/routes.php
@@ -60,5 +60,18 @@ return ['routes' => [
'url' => '/js/theming',
'verb' => 'GET',
],
+ [
+ 'name' => 'Icon#getFavicon',
+ 'url' => '/favicon/{app}',
+ 'verb' => 'GET',
+ 'defaults' => array("app" => "core"),
+ ],
+ [
+ 'name' => 'Icon#getThemedIcon',
+ 'url' => '/image/{app}/{image}',
+ 'verb' => 'GET',
+ 'defaults' => array("app" => "core"),
+ 'requirements' => array('image' => '.+')
+ ],
]];