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


11
12
13
# File 'actionpack/lib/abstract_controller/caching.rb', line 11

def cache_store
  config.cache_store
end

#cache_store=(store) ⇒ Object


15
16
17
# File 'actionpack/lib/abstract_controller/caching.rb', line 15

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