mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 14:42:32 -05:00
touch signature attachment
This commit is contained in:
1 parent
80be5d2cf5
commit
ee2400a5c5
3 files changed
+31
-1
No files matched your search
@@ -48,6 +48,10 @@ module Submitters
|
||||
maybe_set_signature_reason!(values, submitter, params)
|
||||
validate_values!(values, submitter, params, request)
|
||||
|
||||
if (touch_attachment_uuid = params[:touch_attachment_uuid].presence)
|
||||
ActiveStorage::Attachment.where(uuid: touch_attachment_uuid, record: submitter).touch_all(:created_at)
|
||||
end
|
||||
|
||||
SubmissionEvents.create_with_tracking_data(submitter, 'complete_form', request) if params[:completed] == 'true'
|
||||
|
||||
submitter.save!
|
||||
|
||||
Reference in new issue
Block a user