Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-09-18 19:47:14 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-20 09:38:43 +0300
commitec9a21184695b99033ad70bceca892c1d1518560 (patch)
treeffb0d7fb0e5857707066c347cb45886326472b95 /appinfo
parent6a7b73f5989a32a5ebd5b6ff341c9c6c8d4bb88e (diff)
Fix DI error, added design base and delete handler
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index b74e2a1d..2f0c1124 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -53,7 +53,7 @@ return [
['name' => 'assets#get', 'url' => 'assets/{token}', 'verb' => 'GET'],
// templates
- ['name' => 'templates#getPreview', 'url' => '/template/{templateName}', 'verb' => 'GET'],
+ ['name' => 'templates#getPreview', 'url' => '/template/preview/{templateName}', 'verb' => 'GET'],
['name' => 'templates#add', 'url' => '/template', 'verb' => 'POST'],
['name' => 'templates#delete', 'url' => '/template/{templateName}', 'verb' => 'DELETE'],
],