lib/world_flags/rails/engine.rb in world-flags-0.6.4 vs lib/world_flags/rails/engine.rb in world-flags-0.6.5

- old
+ new

@@ -1,9 +1,10 @@ module WorldFlags module Rails class Engine < ::Rails::Engine - initializer "setup for rails" do + initializer "setup for rails" do |app| ActionView::Base.send :include, WorldFlags::Helper::View + app.config.assets.precompile << %r(flags/flag\d\d(?:_semi)?\.png$) end end end end