| Module | ActionController::Caching::Actions::ClassMethods |
| In: |
vendor/rails/actionpack/lib/action_controller/caching.rb
|
Declares that actions should be cached. See ActionController::Caching::Actions for details.
# File vendor/rails/actionpack/lib/action_controller/caching.rb, line 180
180: def caches_action(*actions)
181: return unless perform_caching
182: action_cache_filter = ActionCacheFilter.new(*actions)
183: before_filter action_cache_filter
184: after_filter action_cache_filter
185: end