diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 3 | ||||
-rw-r--r-- | config/general.yml-example | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index 3c01e26c4..a89ccaa9e 100644 --- a/config/application.rb +++ b/config/application.rb @@ -60,7 +60,8 @@ module Alaveteli config.time_zone = ::AlaveteliConfiguration::time_zone # Set the cache to use a memcached backend - config.cache_store = :mem_cache_store, { :namespace => AlaveteliConfiguration::domain } + config.cache_store = :mem_cache_store, + { :namespace => "#{AlaveteliConfiguration::domain}_#{RUBY_VERSION}" } config.action_dispatch.rack_cache = nil config.after_initialize do |app| diff --git a/config/general.yml-example b/config/general.yml-example index 8acea374b..3cef075cf 100644 --- a/config/general.yml-example +++ b/config/general.yml-example @@ -571,6 +571,16 @@ VARNISH_HOST: null # --- GA_CODE: '' + +# We need to add the WDTK survey variables here, or else the deployment +# system will cry. +SURVEY_SECRET: '' +# Blank this out if the survey host is unavailable - people going to the +# survey URL will get a message that the survey is unavailable +SURVEY_URL: '' +# Set this to false if you don't want survey emails to be sent +SEND_SURVEY_MAILS: true + # If you want to override all the public body request emails with your own # email address so that request emails that would normally go to the public # body go to you, use this setting. This is useful for a staging server, so you |