Update to iD v1.7.3
[rails.git] / config / initializers / cors.rb
index 1a8ce106d2ad29647c791de75ebaf03e74ca02e9..320c1db2c4eba6dfb9a04ba1d3859992d66865e0 100644 (file)
@@ -7,8 +7,8 @@ module OpenStreetMap
   class Cors < Rack::Cors
     def call(env)
       status, headers, body = super env
-      if headers['Access-Control-Allow-Origin']
-        headers['Cache-Control'] = 'no-cache'
+      if headers["Access-Control-Allow-Origin"]
+        headers["Cache-Control"] = "no-cache"
       end
       [status, headers, body]
     end