X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3789c7b592280bde502a377c5d7c31108d90db82..6b4803d87fc957d0a779ebedc39e8499af1b7733:/app/controllers/application.rb?ds=inline diff --git a/app/controllers/application.rb b/app/controllers/application.rb index 6520e027b..9d4749a0d 100644 --- a/app/controllers/application.rb +++ b/app/controllers/application.rb @@ -38,16 +38,6 @@ class ApplicationController < ActionController::Base end end - def get_xml_doc - doc = XML::Document.new - doc.encoding = 'UTF-8' - root = XML::Node.new 'osm' - root['version'] = API_VERSION - root['generator'] = 'OpenStreetMap server' - doc.root = root - return doc - end - # extract authorisation credentials from headers, returns user = nil if none private def get_auth_data