Module: ActionView::Helpers::CacheHelper
- Defined in:
- /var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/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 '/var/build/temp/tmp.g5C1f6zb2g/4.0-0-0/ruby-haml/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
|