lib/world_flags/rails/engine.rb in world-flags-0.1.4 vs lib/world_flags/rails/engine.rb in world-flags-0.1.5
- old
+ new
@@ -1,19 +1,19 @@
module WorldFlags
module Rails
class Engine < ::Rails::Engine
initializer "setup for rails" do
- puts "WorldFlags engine loaded"
+ # puts "WorldFlags engine loaded"
WorldFlags::Rails::Engine.add_view_ext
end
def self.add_view_ext
- ActionView::Base.send :include, WorldFlagsHelper
+ ActionView::Base.send :include, WorldFlags::ViewHelper
end
def self.add_controller_ext
- # ActionController::Base.send(:include, UiControllerExtensions)
+ # ActionController::Base.send(:include, WorldFlags::UiControllerExtensions)
end
end
end
end