change cache files sites

This commit is contained in:
lizanle 2015-01-07 09:53:52 +08:00
parent 10cde37582
commit 7d351e9794
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -7,6 +7,7 @@
/files/*
/log/*
/tmp/*
/cache/*
.gitignore
/public/images/avatars/*
/Gemfile

View File

@ -11,7 +11,7 @@ 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 }/public/cache/"
config.cache_store = :file_store, "#{Rails.root }/public/tmp/"
# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false