]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/relation_controller.rb
Advise new users to signup on the wiki as well. Closes #738.
[rails.git] / app / controllers / relation_controller.rb
index 3f185254b4cb3ae6c5e56fdab1cdce7357607126..2b1ba6c753c70df6579d381facebc7bd451be754 100644 (file)
@@ -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