we need this eager load thing

This commit is contained in:
Sam 2013-11-26 15:16:56 +11:00
parent 6617478878
commit 9d13c6b931
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ Discourse::Application.configure do
# Code is not reloaded between requests
config.cache_classes = true
config.eager_load = true
# Full error reports are disabled and caching is turned on
config.consider_all_requests_local = false
config.action_controller.perform_caching = true