Skip to content

Commit e1a1034

Browse files
committed
Change to a method that can be used with older versions of Redmine #30
1 parent ab335a5 commit e1a1034

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/message_customize/locale.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def reload!(*languages)
1818
available_languages.each do |lang|
1919
redmine_root_locale_path = Rails.root.join('config', 'locales', "#{lang}.yml")
2020
if File.exist?(redmine_root_locale_path)
21-
@available_messages[:"#{lang}"] = (I18n.backend.send(:load_yaml, redmine_root_locale_path)[lang] || {}).deep_symbolize_keys
21+
@available_messages[:"#{lang}"] = (I18n.backend.send(:load_yml, redmine_root_locale_path)[lang] || {}).deep_symbolize_keys
2222
end
2323
end
2424
end

0 commit comments

Comments
 (0)