mirror of
https://github.com/docusealco/docuseal
synced 2026-11-16 08:12:32 -05:00
add with order
This commit is contained in:
1 parent
c364746f62
commit
1b50efe511
2 files changed
+3
-2
No files matched your search
@@ -16,7 +16,8 @@ class SubmitFormDeclineController < ApplicationController
|
||||
@submitter.viewer? ||
|
||||
!Submitters::AuthorizedForForm.call(@submitter,
|
||||
current_user,
|
||||
request)
|
||||
request,
|
||||
with_order: true)
|
||||
|
||||
ApplicationRecord.transaction do
|
||||
@submitter.update!(declined_at: Time.current, values: @submitter.preferences['default_values'] || {})
|
||||
|
||||
Reference in new issue
Block a user