summaryrefslogtreecommitdiff
path: root/config/environments/production.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/environments/production.rb')
-rw-r--r--config/environments/production.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 815463c..4d263f2 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -4,6 +4,9 @@ LeapPublicSite::Application.configure do
# Code is not reloaded between requests
config.cache_classes = true
+ # IMPORTANT: this must be false if you want to be able to edit pages without restarting rails
+ config.action_view.cache_template_loading = false
+
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_controller.perform_caching = true