lib/active_archive.rb in active_archive-2.2.1 vs lib/active_archive.rb in active_archive-2.2.2

- old
+ new

@@ -35,10 +35,10 @@ module ActiveArchive class Railtie < ::Rails::Railtie initializer 'active_archive' do |app| ActiveArchive::Railtie.instance_eval do - [app.config.i18n.available_locales].each do |locale| + [app.config.i18n.available_locales].flatten.each do |locale| (I18n.load_path << path(locale)) if File.file?(path(locale)) end end end \ No newline at end of file