method
after
rails latest stable - Class:
ActionController::Caching::Actions::ActionCacheFilter
after(controller)public
No documentation available.
# File actionpack/lib/action_controller/caching/actions.rb, line 108
def after(controller)
return if controller.rendered_action_cache || !caching_allowed(controller)
action_content = cache_layout? ? content_for_layout(controller) : controller.response.body
controller.write_fragment(controller.action_cache_path.path, action_content, @options[:store_options])
end