Enable Rubocop Rails/FilePath (#23854)
This commit is contained in:
parent
c97b611b6b
commit
1fe04f740a
6 changed files with 10 additions and 72 deletions
|
@ -14,7 +14,7 @@ Rails.application.configure do
|
|||
|
||||
# Enable/disable caching. By default caching is disabled.
|
||||
# Run rails dev:cache to toggle caching.
|
||||
if Rails.root.join('tmp/caching-dev.txt').exist?
|
||||
if Rails.root.join('tmp', 'caching-dev.txt').exist?
|
||||
config.action_controller.perform_caching = true
|
||||
config.cache_store = :redis_cache_store, REDIS_CACHE_PARAMS
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue