X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f09b16cade5447158606e37ebd6c9cd86fc8b50b..db33aa6ff66a85207c8706c1a18f91ae9111c2b0:/app/controllers/relation_controller.rb diff --git a/app/controllers/relation_controller.rb b/app/controllers/relation_controller.rb index 3f185254b..2b1ba6c75 100644 --- a/app/controllers/relation_controller.rb +++ b/app/controllers/relation_controller.rb @@ -31,7 +31,7 @@ class RelationController < ApplicationController def read begin relation = Relation.find(params[:id]) - + response.headers['Last-Modified'] = relation.timestamp.rfc822 if relation.visible render :text => relation.to_xml.to_s, :content_type => "text/xml" else