lib/haml/helpers/action_view_mods.rb in haml-2.2.19 vs lib/haml/helpers/action_view_mods.rb in haml-2.2.20

- old
+ new

@@ -123,10 +123,10 @@ def is_haml? @template_object.send :is_haml? end - unless defined?(ActionView::Helpers::ActiveRecordInstanceTag) + unless defined?(ActionView::Helpers) && defined?(ActionView::Helpers::ActiveRecordInstanceTag) alias_method :content_tag_without_haml, :content_tag alias_method :content_tag, :content_tag_with_haml end end