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:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-10-22 21:18:08 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-12-20 09:38:44 +0300
commit8ffc77c4fc6b34780e4b60e330f83949195e18b2 (patch)
tree4dc31ff03070390d2d12db2f53f96cf2d5801e0c /appinfo
parentd00081c85fca2186e4705a4ef5b0c4be25192299 (diff)
Allow templates to be created from the web
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index e2fe270d..30baf711 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -29,6 +29,7 @@ return [
'routes' => [
//documents
['name' => 'document#index', 'url' => 'index', 'verb' => 'GET'],
+ ['name' => 'document#template', 'url' => 'indexTemplate', 'verb' => 'GET'],
['name' => 'document#publicPage', 'url' => '/public', 'verb' => 'GET'],
['name' => 'document#create', 'url' => 'ajax/documents/create', 'verb' => 'POST'],