method
default_cache_store
v2.2.1 -
Show latest stable
- Class:
Rails::Configuration
default_cache_store()private
No documentation available.
# File railties/lib/initializer.rb, line 961
def default_cache_store
if File.exist?("#{root_path}/tmp/cache/")
[ :file_store, "#{root_path}/tmp/cache/" ]
else
:memory_store
end
end