1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

attr_writers on I18n should be publicly callable

This commit is contained in:
Akira Matsuda 2020-10-02 15:36:27 +09:00
parent 494c0429b7
commit af334f004e

View file

@ -51,7 +51,7 @@ module I18n
when :raise_on_missing_translations
forward_raise_on_missing_translations_config(app)
else
I18n.send("#{setting}=", value)
I18n.public_send("#{setting}=", value)
end
end