diff options
author | elijah <elijah@riseup.net> | 2013-02-13 01:31:01 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-13 01:31:01 -0800 |
commit | fbf8d08dcc0045ab436dbd9e82d2715e1ba902a4 (patch) | |
tree | ffaa49b795102e6cb19637383a788a17b2be261c /config | |
parent | 50f47a5c046ccd6adbd6908b7b003e9b66e6cb86 (diff) |
disable template caching
Diffstat (limited to 'config')
-rw-r--r-- | config/environments/production.rb | 3 |
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 |