mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
fix pdf generation
This commit is contained in:
1 parent
662d052904
commit
02fee9f885
9 files changed
+99
-68
No files matched your search
@@ -12,10 +12,10 @@ class SubmissionsDebugController < ApplicationController
|
||||
|
||||
respond_to do |f|
|
||||
f.html do
|
||||
render 'submit_template/show'
|
||||
render 'submit_form/show'
|
||||
end
|
||||
f.pdf do
|
||||
Submissions::GenerateResultAttachments.call(@submitter.submission)
|
||||
Submissions::GenerateResultAttachments.call(@submitter)
|
||||
|
||||
send_data ActiveStorage::Attachment.where(name: :documents).last.download,
|
||||
filename: 'debug.pdf',
|
||||
|
||||
Reference in new issue
Block a user