lib/fleximage.rb in tvdeyen-fleximage-1.0.7 vs lib/fleximage.rb in tvdeyen-fleximage-1.0.8

- old
+ new

@@ -31,10 +31,10 @@ #ActionController::Base.exempt_from_layout :flexi if defined?(ActionView::Template) # Rails >= 2.1 if Rails.version.to_f >= 3 require 'fleximage/rails3_view' - ActionView::Template.register_template_handler :flexi, ActionView::TemplateHandlers::Rails3View + ActionView::Template.register_template_handler :flexi, Fleximage::Rails3View else require 'fleximage/view' ActionView::Template.register_template_handler :flexi, Fleximage::View end else