projects
/
leap_website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f47a5
)
disable template caching
author
elijah
<elijah@riseup.net>
Wed, 13 Feb 2013 09:31:01 +0000
(
01:31
-0800)
committer
elijah
<elijah@riseup.net>
Wed, 13 Feb 2013 09:31:01 +0000
(
01:31
-0800)
config/environments/production.rb
patch
|
blob
|
history
diff --git
a/config/environments/production.rb
b/config/environments/production.rb
index
815463c
..
4d263f2
100644
(file)
--- 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