mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 07:42:32 -05:00
replace filename slashes
This commit is contained in:
1 parent
307036eae6
commit
781da32a07
7 files changed
+8
-8
No files matched your search
@@ -62,7 +62,7 @@ module Submissions
|
||||
ActiveStorage::Attachment.create!(
|
||||
blob: ActiveStorage::Blob.create_and_upload!(
|
||||
io: io.tap(&:rewind), filename: "#{I18n.t('audit_log')} - " \
|
||||
"#{submission.name || submission.template&.name}.pdf"
|
||||
"#{submission.name || submission.template&.name}.pdf".tr('/', '-')
|
||||
),
|
||||
name: 'audit_trail',
|
||||
record: submission
|
||||
|
||||
Reference in new issue
Block a user