X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/baf10cd39289cd7e94a819305e46f43e85a136c6..5cbd4038edb32b0304bd766e70fc680ea447b52b:/config/preinitializer.rb diff --git a/config/preinitializer.rb b/config/preinitializer.rb index 818146c21..34a9a3858 100644 --- a/config/preinitializer.rb +++ b/config/preinitializer.rb @@ -15,7 +15,5 @@ ENV.each do |key, value| end config[env].each do |key, value| - unless Object.const_defined?(key.upcase) - Object.const_set(key.upcase, value) - end + Object.const_set(key.upcase, value) unless Object.const_defined?(key.upcase) end