diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-06-26 10:10:49 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-07-19 08:16:30 +0200 |
commit | 98a0113d4083d4dff73f8212106673ccc1c4b744 (patch) | |
tree | f19c53febc5cf59246ee6ca7087cdc1778469d67 /core/routes.php | |
parent | 84e90e26c0a257c11ebdd05e01046e1a90e6c9bd (diff) | |
download | nextcloud-server-98a0113d4083d4dff73f8212106673ccc1c4b744.tar.gz nextcloud-server-98a0113d4083d4dff73f8212106673ccc1c4b744.zip |
Svg from app
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php index 75e6f52a498..9538a591600 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#getSvg', 'url' => '/svg/{fileName}/{color}', 'verb' => 'GET'], + ['name' => 'Svg#getSvgFromCore', 'url' => '/svg/{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'], ['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'POST'], |