Autofix Rubocop Style/FormatString (#23743)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user