Skip to content

Commit

Permalink
Merge pull request #40215 from vlado/file_path_joining_in_generator
Browse files Browse the repository at this point in the history
Uniform paths joining in the code generated by `rails new`
  • Loading branch information
rafaelfranca committed Dec 29, 2020
2 parents d73ddc6 + d556c99 commit 05e6945
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit 05e6945

Please sign in to comment.