mirror of
https://github.com/ditkrg/jsonapi-swagger.git
synced 2026-01-22 13:56:54 +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={})
|
||||
options[:scope] = :jsonapi_swagger
|
||||
options[:default] = key.to_s.humanize
|
||||
I18n.t(key, options)
|
||||
I18n.t(key, **options)
|
||||
end
|
||||
|
||||
def safe_encode(content)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user