Declares that actions should be cached. See ActionController::Caching::Actions for details.
# File lib/action_controller/caching/actions.rb, line 80
80: def caches_action(*actions)
81: return unless cache_configured?
82: options = actions.extract_options!
83: options[:layout] = true unless options.key?(:layout)
84: filter_options = options.extract!(:if, :unless).merge(:only => actions)
85: cache_options = options.extract!(:layout, :cache_path).merge(:store_options => options)
86:
87: around_filter ActionCacheFilter.new(cache_options), filter_options
88: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.