mirror of
https://github.com/docusealco/docuseal
synced 2026-11-09 07:42:32 -05:00
add blobs proxy controller
This commit is contained in:
1 parent
5a3174a720
commit
a728aa8689
8 files changed
+49
-7
No files matched your search
@@ -15,7 +15,7 @@ class SubmissionsDownloadController < ApplicationController
|
||||
|
||||
urls =
|
||||
Submitters.select_attachments_for_download(last_submitter).map do |attachment|
|
||||
helpers.rails_blob_url(attachment)
|
||||
ActiveStorage::Blob.proxy_url(attachment.blob)
|
||||
end
|
||||
|
||||
render json: urls
|
||||
|
||||
Reference in new issue
Block a user