summaryrefslogtreecommitdiffstats
path: root/config/environments
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-07-25 13:42:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2017-07-25 13:42:07 +0000
commit9555732eb3af681379202e94269c254979fc04ae (patch)
tree9fc6b438c2a318cd3d87fbd1a1fd1045476abfde /config/environments
parent26f7d35ee3e9700a5830b899c49888e52ebceb29 (diff)
downloadredmine-9555732eb3af681379202e94269c254979fc04ae.tar.gz
redmine-9555732eb3af681379202e94269c254979fc04ae.zip
add "config.enable_dependency_loading = true" at config/environments/production.rb (#26513, #26524, #26526)
git-svn-id: http://svn.redmine.org/redmine/trunk@16881 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/production.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 85cd3890c..6d4207d84 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -10,6 +10,8 @@ Rails.application.configure do
# Rake tasks automatically ignore this option for performance.
config.eager_load = true
+ config.enable_dependency_loading = true
+
# Full error reports are disabled and caching is turned on.
config.consider_all_requests_local = false
config.action_controller.perform_caching = true