Ticket #537: way-gone.patch

File way-gone.patch, 541 bytes (added by jburgess@…, 13 years ago)
  • app/controllers/way_controller.rb

     
    3535      if way.visible
    3636        render :text => way.to_xml.to_s, :content_type => "text/xml"
    3737      else
    38         render :nothing => true, :status => :gone
     38        render :text => "", :status => :gone
    3939      end
    4040    rescue ActiveRecord::RecordNotFound
    4141      render :nothing => true, :status => :not_found