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