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:
Diffstat (limited to 'appinfo/routes.php')
-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'],
],