replace filename slashes

This commit is contained in:
Pete Matsyburka committed 2026-09-08 13:53:35 +03:00
1 parent 307036eae6
commit 781da32a07
7 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ module Templates
blob = ActiveStorage::Blob.create_and_upload!(
io: StringIO.new(document_data),
filename: file.original_filename,
filename: file.original_filename.tr('/', '-'),
metadata: {
**metadata,
identified: file.content_type == PDF_CONTENT_TYPE,