Module ActionController::Caching::Actions::ClassMethods
In: vendor/rails/actionpack/lib/action_controller/caching/actions.rb

Methods

Public Instance methods

Declares that actions should be cached. See ActionController::Caching::Actions for details.

[Source]

    # File vendor/rails/actionpack/lib/action_controller/caching/actions.rb, line 54
54:         def caches_action(*actions)
55:           return unless cache_configured?
56:           options = actions.extract_options!
57:           around_filter(ActionCacheFilter.new(:cache_path => options.delete(:cache_path)), {:only => actions}.merge(options))
58:         end

[Validate]