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 'js/admin.js')
-rw-r--r--js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/admin.js b/js/admin.js
index f70dd93a..dc85c314 100644
--- a/js/admin.js
+++ b/js/admin.js
@@ -338,7 +338,7 @@ function initTemplateManager() {
// fileupload plugin
$('#richdocuments-templates').fileupload({
dataType: 'json',
- url: OC.generateUrl(OC.linkTo('richdocuments', 'template')),
+ url: OC.generateUrl('apps/richdocuments/template'),
type: 'POST',
add: function (e, data) {