make pdf links clickable

This commit is contained in:
Alex Turchyn committed 2023-09-01 10:08:27 +03:00
1 parent c4daf8ed49
commit 52ef0ae929
17 files changed
+131 -44

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ FactoryBot.define do
record: template
)
Templates::ProcessDocument.call(attachment)
Templates::ProcessDocument.call(attachment, attachment.download)
template.schema = [{ attachment_uuid: attachment.uuid, name: 'sample-document' }]
template.submitters = [