Move all settings to settings.yml

We leave the STATUS setting alone, since it's required before rails
boots. The test-specific settings now live in config/settings/test.yml
This commit is contained in:
Andy Allan 2019-03-13 16:38:03 +01:00
parent 7b08270526
commit d102c9aaf4
62 changed files with 316 additions and 349 deletions

View file

@ -57,7 +57,7 @@ Rails.application.configure do
config.log_tags = [:request_id]
# Use a different log path in production.
config.paths["log"] = LOG_PATH if defined?(LOG_PATH)
config.paths["log"] = Settings.log_path if Settings.key?(:log_path)
# Use a different cache store in production.
# config.cache_store = :mem_cache_store