Module: ActionController::Caching::ConfigMethods

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) cache_store



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

def cache_store
  config.cache_store
end

- (Object) cache_store=(store)



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

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