Autofix Rubocop Style/FormatString (#23743)

This commit is contained in:
Nick Schonning
2023-02-20 01:58:33 -05:00
committed by GitHub
parent a9472f8ff1
commit af4c95100c
4 changed files with 3 additions and 13 deletions

View File

@ -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