Class: ActionController::Base
- Inherits:
-
Object
- Object
- ActionController::Base
- Includes:
- HoptoadNotifier::Catcher
- Defined in:
- lib/rack_page_caching/action_controller_base.rb
Class Method Summary collapse
Class Method Details
.__caches_page ⇒ Object
6 |
# File 'lib/rack_page_caching/action_controller_base.rb', line 6 alias_method :__caches_page, :caches_page |
.caches_page(*actions) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/rack_page_caching/action_controller_base.rb', line 8 def caches_page(*actions) before_filter :set_rack_page_caching_header, :only => actions # RAILS_GEM_VERSION.match(/^(\d\.\d)/) # unless $1 >= '2.3' before_filter :read_from_rack_page_cache, :only => actions after_filter :write_into_rack_page_cache, :only => actions # end __caches_page(*actions) end |