module ActionController::Caching::Actions

def _save_fragment(name, options)

def _save_fragment(name, options)
  content = response_body
  content = content.join if content.is_a?(Array)
  if caching_allowed?
    write_fragment(name, content, options)
  else
    content
  end
end

def expire_action(options = {})

def expire_action(options = {})
  return unless cache_configured?
  actions = options[:action]
  if actions.is_a?(Array)
    actions.each {|action| expire_action(options.merge(:action => action)) }
  else
    expire_fragment(ActionCachePath.new(self, options, false).path)
  end
end