Autofix Rubocop Style/FormatString (#23743)
This commit is contained in:
parent
a9472f8ff1
commit
af4c95100c
4 changed files with 3 additions and 13 deletions
|
@ -8,7 +8,7 @@ class REST::PrivacyPolicySerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def content
|
||||
markdown.render(object.text % { domain: Rails.configuration.x.local_domain })
|
||||
markdown.render(format(object.text, domain: Rails.configuration.x.local_domain))
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue