instance method
expire_action
Ruby on Rails 3.2.22.5
Since v2.2.3 Last seen in v3.2.22.5Signature
expire_action(options = {})
No documentation comment.
Parameters
-
optionsopt = {}
Source
# File actionpack/lib/action_controller/caching/actions.rb, line 118
def expire_action(options = {})
return unless cache_configured?
if options.is_a?(Hash) && options[:action].is_a?(Array)
options[:action].each {|action| expire_action(options.merge(:action => action)) }
else
expire_fragment(ActionCachePath.new(self, options, false).path)
end
end
Defined in actionpack/lib/action_controller/caching/actions.rb line 118
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::Caching::Actions