未验证 提交 9f4b25f8 编写于 作者: R Rafael Mendonça França

Merge pull request #24169 from rubys/config_ac_per_env

Config ac per env
...@@ -69,4 +69,7 @@ Rails.application.configure do ...@@ -69,4 +69,7 @@ Rails.application.configure do
# Use an evented file watcher to asynchronously detect changes in source code, # Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem. # routes, locales, etc. This feature depends on the listen gem.
<%= '# ' unless depend_on_listen? %>config.file_watcher = ActiveSupport::EventedFileUpdateChecker <%= '# ' unless depend_on_listen? %>config.file_watcher = ActiveSupport::EventedFileUpdateChecker
# Uncomment if you wish to allow Action Cable access from any origin
# config.action_cable.disable_request_forgery_protection = true
end end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册