lib/rails-gallery/engine.rb in rails-gallery-0.2.1 vs lib/rails-gallery/engine.rb in rails-gallery-0.3.0
- old
+ new
@@ -1,8 +1,10 @@
module RailsGallery
module Rails
class Engine < ::Rails::Engine
initializer 'rails gallery' do
+ puts "Adding RailsGallery::ViewHelper"
+
ActionView::Base.send :include, RailsGallery::ViewHelper
end
end
end
end
\ No newline at end of file