Module: AbstractController::Caching::ConfigMethods

Included in:
AbstractController::Caching
Defined in:
actionpack/lib/abstract_controller/caching.rb

Instance Method Summary collapse

Instance Method Details

#cache_storeObject



13
14
15
# File 'actionpack/lib/abstract_controller/caching.rb', line 13

def cache_store
  config.cache_store
end

#cache_store=(store) ⇒ Object



17
18
19
# File 'actionpack/lib/abstract_controller/caching.rb', line 17

def cache_store=(store)
  config.cache_store = ActiveSupport::Cache.lookup_store(store)
end