lib/pageflow/before_after/engine.rb in pageflow-before-after-0.2.0 vs lib/pageflow/before_after/engine.rb in pageflow-before-after-0.3.0
- old
+ new
@@ -2,8 +2,9 @@
module BeforeAfter
class Engine < Rails::Engine
isolate_namespace Pageflow::BeforeAfter
config.autoload_paths << File.join(config.root, 'lib')
+ config.i18n.load_path += Dir[config.root.join('config', 'locales', '**', '*.yml').to_s]
end
end
end