method
expire_action
v2.3.8 -
Show latest stable
- Class:
ActionController::Caching::Actions
expire_action(options = {})protected
No documentation available.
# File actionpack/lib/action_controller/caching/actions.rb, line 71
def expire_action(options = {})
return unless cache_configured?
if options[:action].is_a?(Array)
options[:action].dup.each do |action|
expire_fragment(ActionCachePath.path_for(self, options.merge({ :action => action }), false))
end
else
expire_fragment(ActionCachePath.path_for(self, options, false))
end
end