mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
ensure unique recipients
This commit is contained in:
1 parent
6adcc87b2b
commit
858b2f33fd
7 files changed
+38
-1
No files matched your search
@@ -57,6 +57,11 @@ class SubmissionsController < ApplicationController
|
||||
Submissions.send_signature_requests(submissions)
|
||||
|
||||
redirect_to template_path(@template), notice: I18n.t('new_recipients_have_been_added')
|
||||
rescue Submissions::CreateFromSubmitters::BaseError => e
|
||||
render turbo_stream: turbo_stream.replace(:submitters_error,
|
||||
partial: 'submissions/error',
|
||||
locals: { error: e.message }),
|
||||
status: :unprocessable_entity
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
||||
Reference in new issue
Block a user