开发环境不缓存

This commit is contained in:
lizanle 2015-01-23 10:00:04 +08:00
parent bb9ab0755c
commit 7bf89c1fc1
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ RedmineApp::Application.configure do
config.logger = Logger.new('log/development.log', 'daily') # daily, weekly or monthly config.logger = Logger.new('log/development.log', 'daily') # daily, weekly or monthly
# Show full error reports and disable caching # Show full error reports and disable caching
config.consider_all_requests_local = true config.consider_all_requests_local = true
#config.action_controller.perform_caching = true config.action_controller.perform_caching = false
#config.cache_store = :file_store, "#{Rails.root }/public/tmp/" config.cache_store = :file_store, "#{Rails.root }/public/tmp/"
# Don't care if the mailer can't send # Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false config.action_mailer.raise_delivery_errors = false