module AbstractController::Caching::ConfigMethods
Public Instance Methods
Source
# File lib/abstract_controller/caching.rb, line 15 def cache_store config.cache_store end
Source
# File lib/abstract_controller/caching.rb, line 19 def cache_store=(store) config.cache_store = ActiveSupport::Cache.lookup_store(*store) end
Private Instance Methods
Source
# File lib/abstract_controller/caching.rb, line 24 def cache_configured? perform_caching && cache_store end