]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Move all settings to settings.yml
[rails.git] / config / environments / production.rb
index 9e15487ae4877fb80d9d1e0177958dbaee7efead..051c5dd44b5b12a739414b6c6698e9f4103be8e5 100644 (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