lib/world_flags/rails/engine.rb in world-flags-0.3.2.2 vs lib/world_flags/rails/engine.rb in world-flags-0.3.4
- old
+ new
@@ -1,13 +1,9 @@
module WorldFlags
module Rails
class Engine < ::Rails::Engine
initializer "setup for rails" do
- WorldFlags::Rails::Engine.add_view_ext
- end
-
- def self.add_view_ext
ActionView::Base.send :include, WorldFlags::Helper::View
- end
+ end
end
end
end