mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 15:42:32 -05:00
fix rubocop
This commit is contained in:
1 parent
f9c12b9d78
commit
9bfa6f7f4a
25 files changed
+27
-52
No files matched your search
@@ -32,7 +32,7 @@ module ReplaceEmailVariables
|
||||
|
||||
module_function
|
||||
|
||||
# rubocop:disable Metrics
|
||||
# rubocop:disable-next Metrics
|
||||
def call(text, submitter:, tracking_event_type: 'click_email', html_escape: false, sig: nil)
|
||||
text = replace(text, TEMPLATE_NAME, html_escape:) do
|
||||
(submitter.template || submitter.submission.template || submitter.submission).name
|
||||
@@ -94,7 +94,6 @@ module ReplaceEmailVariables
|
||||
|
||||
text.tr(ESCAPED_BRACES, '{}')
|
||||
end
|
||||
# rubocop:enable Metrics
|
||||
|
||||
def build_documents_links_text(submitter, sig = nil)
|
||||
url_options = build_url_options_for(submitter)
|
||||
|
||||
Reference in new issue
Block a user