mirror of
https://github.com/ditkrg/jsonapi-swagger.git
synced 2026-01-22 22:06:50 +00:00
Update swagger_generator.rb
This commit is contained in:
parent
8efe5ff488
commit
c7eaef79ab
@ -162,7 +162,7 @@ module Jsonapi
|
|||||||
def tt(key, options={})
|
def tt(key, options={})
|
||||||
options[:scope] = :jsonapi_swagger
|
options[:scope] = :jsonapi_swagger
|
||||||
options[:default] = key.to_s.humanize
|
options[:default] = key.to_s.humanize
|
||||||
I18n.t(key, options)
|
I18n.t(key, **options)
|
||||||
end
|
end
|
||||||
|
|
||||||
def safe_encode(content)
|
def safe_encode(content)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user