aboutsummaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-29 16:10:53 +0200
committerJulius Härtl <jus@bitgrid.net>2018-07-19 08:16:57 +0200
commit29ff7efe9a5be16b133a1ee4e43d6d2155b6a21c (patch)
tree55f1645f13a1f5f2e0591e67dc62d23048f4a5a7 /core/routes.php
parent98a0113d4083d4dff73f8212106673ccc1c4b744 (diff)
downloadnextcloud-server-29ff7efe9a5be16b133a1ee4e43d6d2155b6a21c.tar.gz
nextcloud-server-29ff7efe9a5be16b133a1ee4e43d6d2155b6a21c.zip
Svg icon api sass function and upgrade of all styles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php
index 9538a591600..4ac51dc2364 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -61,7 +61,8 @@ $application->registerRoutes($this, [
['name' => 'OCJS#getConfig', 'url' => '/core/js/oc.js', 'verb' => 'GET'],
['name' => 'Preview#getPreviewByFileId', 'url' => '/core/preview', 'verb' => 'GET'],
['name' => 'Preview#getPreview', 'url' => '/core/preview.png', 'verb' => 'GET'],
- ['name' => 'Svg#getSvgFromCore', 'url' => '/svg/{fileName}/{color}', 'verb' => 'GET'],
+ ['name' => 'Svg#getSvgFromCore', 'url' => '/svg/core/{folder}/{fileName}/{color}', 'verb' => 'GET'],
+ ['name' => 'Svg#getSvgFromSettings', 'url' => '/svg/settings/{folder}/{fileName}/{color}', 'verb' => 'GET'],
['name' => 'Svg#getSvgFromApp', 'url' => '/svg/{app}/{fileName}/{color}', 'verb' => 'GET'],
['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'],