Module: ActionController::Caching::ConfigMethods

Included in:
ActionController::Caching
Defined in:
lib/action_controller/caching.rb

Instance Method Summary collapse

Instance Method Details

#cache_storeObject



43
44
45
# File 'lib/action_controller/caching.rb', line 43

def cache_store
  config.cache_store
end

#cache_store=(store) ⇒ Object



47
48
49
# File 'lib/action_controller/caching.rb', line 47

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