lib/haml/helpers/action_view_mods.rb in haml-2.2.22 vs lib/haml/helpers/action_view_mods.rb in haml-2.2.23
- old
+ new
@@ -123,12 +123,11 @@
def is_haml?
@template_object.send :is_haml?
end
- unless defined?(ActionView::Helpers) && defined?(ActionView::Helpers::ActiveRecordInstanceTag)
- alias_method :content_tag_without_haml, :content_tag
- alias_method :content_tag, :content_tag_with_haml
+ def content_tag(*args)
+ content_tag_with_haml(*args)
end
end
if Haml::Util.ap_geq_3?
module FormTagHelper