X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11cc4a5e601dd288d601e6e35a72d159062f18b5..57f5b7840e540fd8b2240fe7786e989fb2f829af:/app/controllers/api/old_controller.rb diff --git a/app/controllers/api/old_controller.rb b/app/controllers/api/old_controller.rb index 49fdcf1a3..862d14716 100644 --- a/app/controllers/api/old_controller.rb +++ b/app/controllers/api/old_controller.rb @@ -30,9 +30,7 @@ module Api end # Render the result - respond_to do |format| - format.xml - end + render :formats => [:xml] end def version @@ -43,9 +41,7 @@ module Api response.last_modified = @old_element.timestamp # Render the result - respond_to do |format| - format.xml - end + render :formats => [:xml] end end