X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/80d27a7fae408e22300723b746666540da0360b8..3ab39f48ba67bd832999a255023671c6b7894528:/app/controllers/changeset_controller.rb?ds=sidebyside diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 71fc2a59a..e80eb1610 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -61,7 +61,7 @@ class ChangesetController < ApplicationController changeset.set_closed_time_now changeset.save! - render :nothing => true + head :ok end ## @@ -244,7 +244,7 @@ class ChangesetController < ApplicationController check_changeset_consistency(changeset, @user) changeset.update_from(new_changeset, @user) - render :xml => changeset.to_xml + render :xml => changeset.to_xml.to_s end ##