Module: ActionController::Caching::Actions::ClassMethods
- Defined in:
- lib/interlock/action_controller.rb
Instance Method Summary collapse
Instance Method Details
#caches_action(*actions) ⇒ Object
237 238 239 240 241 |
# File 'lib/interlock/action_controller.rb', line 237 def caches_action(*actions) return unless cache_configured? = actions. around_filter(ActionCacheFilter.new(:cache_path => .delete(:cache_path), :expire => .delete(:expire)), {:only => actions}.merge()) end |