]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Replace Vary header with explicit xhr=1 param
[rails.git] / app / controllers / application_controller.rb
index 9c6ea3b33beb9009680f75a1338d6b6724760170..97ab5abfc397036304e6e3f73311f80dea2ffa84 100644 (file)
@@ -423,7 +423,6 @@ class ApplicationController < ActionController::Base
   end
 
   def map_layout
-    response.headers['Vary'] = 'X-Requested-With'
     request.xhr? ? false : 'map'
   end