We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 824c249 commit 7d4d7b5Copy full SHA for 7d4d7b5
variants/backend-base/config/environments/production.rb
@@ -37,8 +37,8 @@
37
'ENV.fetch("RAILS_LOG_LEVEL", ENV.fetch("LOG_LEVEL", "info"))'
38
39
# TODO: https://github.com/ackama/rails-template/issues/569
40
-insert_into_file "config/environments/production.rb",
41
- after: /.*config\.public_file_server\.enabled.*\n/ do
+insert_into_file! "config/environments/production.rb",
+ after: /.*config\.public_file_server\.enabled.*\n/ do
42
<<~'RUBY'
43
44
# Ensure that Rails sets appropriate caching headers on static assets if
0 commit comments