lib/world_flags/rails/engine.rb in world-flags-0.2.1 vs lib/world_flags/rails/engine.rb in world-flags-0.2.2

- old
+ new

@@ -1,19 +1,13 @@ module WorldFlags module Rails - class Engine < ::Rails::Engine - + class Engine < ::Rails::Engine initializer "setup for rails" do - # puts "WorldFlags engine loaded" WorldFlags::Rails::Engine.add_view_ext end def self.add_view_ext ActionView::Base.send :include, WorldFlags::ViewHelper end - - def self.add_controller_ext - # ActionController::Base.send(:include, WorldFlags::UiControllerExtensions) - end end end end