change cache files sites
This commit is contained in:
parent
10cde37582
commit
7d351e9794
|
@ -7,6 +7,7 @@
|
||||||
/files/*
|
/files/*
|
||||||
/log/*
|
/log/*
|
||||||
/tmp/*
|
/tmp/*
|
||||||
|
/cache/*
|
||||||
.gitignore
|
.gitignore
|
||||||
/public/images/avatars/*
|
/public/images/avatars/*
|
||||||
/Gemfile
|
/Gemfile
|
||||||
|
|
|
@ -11,7 +11,7 @@ RedmineApp::Application.configure do
|
||||||
# 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 = 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
|
# 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