lib/haml/helpers/action_view_mods.rb in haml-2.0.8 vs lib/haml/helpers/action_view_mods.rb in haml-2.0.9
- old
+ new
@@ -84,10 +84,10 @@
alias_method :concat, :concat_with_haml
end
else
module CaptureHelper
def capture_with_haml(*args, &block)
- if is_haml? && block_is_haml?(block)
+ if Haml::Helpers.block_is_haml?(block)
capture_haml(*args, &block)
else
capture_without_haml(*args, &block)
end
end