mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
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
|
||||
|
||||
if dup_options.present?
|
||||
return translate_no_cache(key, options)
|
||||
return translate_no_cache(key, **options)
|
||||
end
|
||||
|
||||
locale ||= config.locale
|
||||
|
Loading…
Reference in New Issue
Block a user