Module: Catche::Controller::Actions::ClassMethods
- Defined in:
- lib/catche/controller/actions.rb
Instance Method Summary collapse
-
#catches_action(model, *args) ⇒ Object
Caches an action in Rails.cache See ActionController ‘caches_action` for more information.
Instance Method Details
#catches_action(model, *args) ⇒ Object
Caches an action in Rails.cache See ActionController ‘caches_action` for more information
catches_action Project, :index
13 14 15 |
# File 'lib/catche/controller/actions.rb', line 13 def catches_action(model, *args) catche model, *args, :type => :action end |