|
|
|
@ -12,7 +12,8 @@ RedmineApp::Application.configure do
|
|
|
|
|
# Show full error reports and disable caching
|
|
|
|
|
config.consider_all_requests_local = true
|
|
|
|
|
config.action_controller.perform_caching = true
|
|
|
|
|
config.cache_store = :file_store, "#{Rails.root }/files/cache_store/"
|
|
|
|
|
# config.cache_store = :file_store, "#{Rails.root }/files/cache_store/"
|
|
|
|
|
config.cache_store = :redis_store, 'redis://127.0.0.1:6379/0/cache', { expires_in: 90.minutes }
|
|
|
|
|
#config.cache_store = :dalli_store
|
|
|
|
|
# Don't care if the mailer can't send
|
|
|
|
|
config.action_mailer.raise_delivery_errors = true
|
|
|
|
|