]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Split come changset display logic into a helper
[rails.git] / app / controllers / application_controller.rb
index 97ab5abfc397036304e6e3f73311f80dea2ffa84..9c6ea3b33beb9009680f75a1338d6b6724760170 100644 (file)
@@ -423,6 +423,7 @@ class ApplicationController < ActionController::Base
   end
 
   def map_layout
+    response.headers['Vary'] = 'X-Requested-With'
     request.xhr? ? false : 'map'
   end