summaryrefslogtreecommitdiffstats
path: root/config/environments/production.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/production.rb')
-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