Update swagger_generator.rb

This commit is contained in:
Brusk Hamarash 2022-01-19 16:28:58 +03:00 committed by GitHub
parent 8efe5ff488
commit c7eaef79ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ module Jsonapi
def tt(key, options={})
options[:scope] = :jsonapi_swagger
options[:default] = key.to_s.humanize
I18n.t(key, options)
I18n.t(key, **options)
end
def safe_encode(content)