add blobs proxy controller

This commit is contained in:
Pete Matsyburka committed 2024-02-18 11:36:50 +02:00
1 parent 5a3174a720
commit a728aa8689
8 files changed
+49 -7

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ module Submitters
def rails_storage_proxy_url(attachment)
return if attachment.blank?
r.rails_storage_proxy_url(attachment, **Docuseal.default_url_options)
ActiveStorage::Blob.proxy_url(attachment.blob)
end
def r