X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f09b16cade5447158606e37ebd6c9cd86fc8b50b..681e96bc7db90d6d5ab369455d2a632b2d8e0023:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index 413c65d1c..c1bbe5f72 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -32,6 +32,8 @@ class WayController < ApplicationController begin way = Way.find(params[:id]) + response.headers['Last-Modified'] = way.timestamp.rfc822 + if way.visible render :text => way.to_xml.to_s, :content_type => "text/xml" else