X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb953006a1a8fe2949f376e167dda963dfd784bd..6a77bbe544b9866844473230b0c2406062ab9b5b:/app/controllers/api/old_controller.rb diff --git a/app/controllers/api/old_controller.rb b/app/controllers/api/old_controller.rb index 984534b06..862d14716 100644 --- a/app/controllers/api/old_controller.rb +++ b/app/controllers/api/old_controller.rb @@ -30,7 +30,7 @@ module Api end # Render the result - render formats: [:xml] + render :formats => [:xml] end def version @@ -41,7 +41,7 @@ module Api response.last_modified = @old_element.timestamp # Render the result - render formats: [:xml] + render :formats => [:xml] end end