diff --git a/app/javascript/template_builder/replace.vue b/app/javascript/template_builder/replace.vue index 0a1dcba2..6a467206 100644 --- a/app/javascript/template_builder/replace.vue +++ b/app/javascript/template_builder/replace.vue @@ -48,6 +48,9 @@ export default { inputId () { return 'el' + Math.random().toString(32).split('.')[1] }, + uploadUrl () { + return `/templates/${this.templateId}/documents` + }, message () { if (this.isLoading) { return this.t('uploading_')