Module: ActionView::Helpers::CacheHelper
- Defined in:
- /tmp/buildd/ruby-haml-3.1.6/lib/haml/helpers/action_view_mods.rb
Instance Method Summary (collapse)
- - fragment_for_with_haml(*args, &block) (also: #fragment_for)
Instance Method Details
- fragment_for_with_haml(*args, &block) Also known as: fragment_for
199 200 201 202 |
# File '/tmp/buildd/ruby-haml-3.1.6/lib/haml/helpers/action_view_mods.rb', line 199
def fragment_for_with_haml(*args, &block)
return fragment_for_without_haml(*args, &block) if controller.perform_caching
capture(&block)
end
|