method
_save_fragment
v3.0.0 -
Show latest stable
- Class:
ActionController::Caching::Actions
_save_fragment(name, options)public
No documentation available.
# File actionpack/lib/action_controller/caching/actions.rb, line 91
def _save_fragment(name, options)
return unless caching_allowed?
content = response_body
content = content.join if content.is_a?(Array)
write_fragment(name, content, options)
end