mirror of
https://github.com/docusealco/docuseal.git
synced 2026-06-23 04:10:11 +00:00
12 lines
271 B
Ruby
12 lines
271 B
Ruby
# frozen_string_literal: true
|
|
|
|
class SubmittersDownloadController < ApplicationController
|
|
load_and_authorize_resource :submitter
|
|
|
|
def index
|
|
Submissions::EnsureResultGenerated.call(@submitter)
|
|
|
|
render json: Submitters.build_document_urls(@submitter)
|
|
end
|
|
end
|