mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 14:42:33 -05:00
refactor policy
This commit is contained in:
1 parent
e77b5fa2c9
commit
85d52d1f28
4 files changed
+6
-7
No files matched your search
@@ -19,8 +19,6 @@ class StartFormController < ApplicationController
|
||||
uuid: (filter_undefined_submitters(@template).first ||
|
||||
@template.submitters.first)['uuid'])
|
||||
|
||||
@form_configs = Submitters::FormConfigs.call(@submitter) unless Docuseal.multitenant?
|
||||
|
||||
render :show
|
||||
elsif current_user && current_ability.can?(:read, @template)
|
||||
render :private
|
||||
|
||||
Reference in new issue
Block a user