mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
add account_id to submissions
This commit is contained in:
1 parent
ddcb5c5d40
commit
8630c68631
9 files changed
+41
-6
No files matched your search
@@ -10,7 +10,8 @@ class StartFormController < ApplicationController
|
||||
before_action :load_template
|
||||
|
||||
def show
|
||||
@submitter = @template.submissions.new.submitters.new(uuid: @template.submitters.first['uuid'])
|
||||
@submitter = @template.submissions.new(account_id: @template.account_id)
|
||||
.submitters.new(uuid: @template.submitters.first['uuid'])
|
||||
end
|
||||
|
||||
def update
|
||||
@@ -68,6 +69,7 @@ class StartFormController < ApplicationController
|
||||
end
|
||||
|
||||
submitter.submission ||= Submission.new(template:,
|
||||
account_id: template.account_id,
|
||||
template_submitters: template.submitters,
|
||||
source: :link)
|
||||
|
||||
|
||||
Reference in new issue
Block a user