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:
Sam Saffron 2019-11-08 17:30:42 +11:00
parent 652b6363a2
commit d4c9ed68a9
1 changed files with 1 additions and 1 deletions

View File

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