X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f09b16cade5447158606e37ebd6c9cd86fc8b50b..bee38e63a3cf9083d5bf38e8bbfbac62f9a6a9d1:/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