summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-25 11:17:00 +0200
committerJulius Härtl <jus@bitgrid.net>2018-07-19 08:16:30 +0200
commit84e90e26c0a257c11ebdd05e01046e1a90e6c9bd (patch)
treee5f137e5dd41cfc49e02645dd9de872633676e36 /core/routes.php
parentb7e32df6603720c7f58b93a97b68cc841c0ad2ff (diff)
downloadnextcloud-server-84e90e26c0a257c11ebdd05e01046e1a90e6c9bd.tar.gz
nextcloud-server-84e90e26c0a257c11ebdd05e01046e1a90e6c9bd.zip
Svg color api
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php
index c5df3a362f5..75e6f52a498 100644
--- a/core/routes.php
+++ b/core/routes.php
@@ -61,6 +61,7 @@ $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#getSvg', 'url' => '/svg/{fileName}/{color}', 'verb' => 'GET'],
['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'],
['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'POST'],