mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 15:22:33 -05:00
adjust form completed step
This commit is contained in:
1 parent
bfbf3d7ddb
commit
96508cd1ee
14 files changed
+339
-251
No files matched your search
@@ -6,8 +6,8 @@ class SubmissionsDownloadController < ApplicationController
|
||||
def index
|
||||
submitter = Submitter.find_by(slug: params[:submitter_slug])
|
||||
|
||||
Submissions::GenerateResultAttachments.call(submitter)
|
||||
Submissions::GenerateResultAttachments.call(submitter) if submitter.documents.blank?
|
||||
|
||||
redirect_to submitter.archive.url, allow_other_host: true
|
||||
render json: submitter.documents.map { |e| helpers.rails_blob_url(e) }
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user