add blobs proxy controller

This commit is contained in:
Pete Matsyburka
2024-02-18 11:26:30 +02:00
parent 5a3174a720
commit a728aa8689
8 changed files with 49 additions and 7 deletions
+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