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