Uniform paths joining in the code generated by `rails new`

This commit is contained in:
Vlado Cingel 2020-09-11 10:34:43 +02:00
parent e3b8ba396b
commit d556c99687
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,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?
<%- unless options.api? -%>
config.action_controller.perform_caching = true
config.action_controller.enable_fragment_cache_logging = true