lib/haml/helpers/action_view_mods.rb in haml-3.2.0.rc.4 vs lib/haml/helpers/action_view_mods.rb in haml-4.0.0.rc.1

- old
+ new

@@ -140,8 +140,8 @@ alias_method :form_for, :form_for_with_haml end end end -if (ActionPack::VERSION::MAJOR == 3) && (ActionPack::VERSION::MINOR >= 2) && (ActionPack::VERSION::TINY >= 3) +if ((ActionPack::VERSION::MAJOR == 3) && (ActionPack::VERSION::MINOR >= 2) && (ActionPack::VERSION::TINY >= 3) || (ActionPack::VERSION::MAJOR == 4)) require "haml/helpers/rails_323_textarea_fix" -end \ No newline at end of file +end