]> git.openstreetmap.org Git - rails.git/blobdiff - config/environments/production.rb
Fix rubocop style issues
[rails.git] / config / environments / production.rb
index 1dab3556396c7b5ae2e849c2dfbee5ef1ab465fb..3c6c21cef0ab9cb8b2b21596e0690ec9aac03f67 100644 (file)
@@ -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)