mirror of
https://github.com/docusealco/docuseal
synced 2026-11-04 22:42:32 -05:00
refactor routes
This commit is contained in:
1 parent
20ec614d3a
commit
ca7b9671f2
19 files changed
+173
-43
No files matched your search
@@ -15,7 +15,8 @@ class SubmitFormDelegateController < ApplicationController
|
||||
@submitter.viewer? ||
|
||||
!Submitters::AuthorizedForForm.call(@submitter,
|
||||
current_user,
|
||||
request)
|
||||
request,
|
||||
with_order: true)
|
||||
|
||||
@submitter.account.account_configs.find_by!(key: AccountConfig::ALLOW_TO_DELEGATE_KEY, value: true)
|
||||
|
||||
|
||||
Reference in new issue
Block a user