]> git.openstreetmap.org Git - rails.git/blobdiff - config/initializers/cors.rb
Fix new rubocop warnings
[rails.git] / config / initializers / cors.rb
index 7421bd3346868dc96b580ad14e6fe1dee61b701e..fdbf11a2ce05cacaaffcdd4a90a822518be92e81 100644 (file)
@@ -6,7 +6,7 @@
 module OpenStreetMap
   class Cors < Rack::Cors
     def call(env)
-      status, headers, body = super env
+      status, headers, body = super(env)
       headers["Cache-Control"] = "no-cache" if headers["Access-Control-Allow-Origin"]
       [status, headers, body]
     end