开发环境不缓存
This commit is contained in:
parent
bb9ab0755c
commit
7bf89c1fc1
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue