Module: AbstractController::Caching::ConfigMethods

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

Instance Method Summary collapse

Instance Method Details

#cache_storeObject



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

def cache_store
  config.cache_store
end

#cache_store=(store) ⇒ Object



19
20
21
# File 'lib/abstract_controller/caching.rb', line 19

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