DEV: properly pass keyword args
Ruby 2.7 is going to deprecate our old and incorrect usage, use the correct form for passing kwargs
This commit is contained in:
parent
652b6363a2
commit
d4c9ed68a9
|
@ -110,7 +110,7 @@ module I18n
|
||||||
end
|
end
|
||||||
|
|
||||||
if dup_options.present?
|
if dup_options.present?
|
||||||
return translate_no_cache(key, options)
|
return translate_no_cache(key, **options)
|
||||||
end
|
end
|
||||||
|
|
||||||
locale ||= config.locale
|
locale ||= config.locale
|
||||||
|
|
Loading…
Reference in New Issue