X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/44e44a5198d039780d0c6fefee55d643cb53be7a..dc2a2c8ebd1a11e4a64555fda22c6859a51defff:/config/environments/production.rb diff --git a/config/environments/production.rb b/config/environments/production.rb index 1dab35563..707202c52 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -22,7 +22,7 @@ OpenStreetMap::Application.configure do # Disable serving static files from the `/public` folder by default since # Apache or NGINX already handles this. - config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present? + config.serve_static_files = ENV["RAILS_SERVE_STATIC_FILES"].present? # Compress JavaScripts and CSS. config.assets.js_compressor = :uglifier @@ -52,9 +52,7 @@ OpenStreetMap::Application.configure do # config.log_tags = [ :subdomain, :uuid ] # Use a different log path in production. - if defined?(LOG_PATH) - config.paths["log"] = LOG_PATH - end + config.paths["log"] = LOG_PATH if defined?(LOG_PATH) # Use a different logger for distributed setups. # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)