X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b38b2c2d0fcbcf94b668f3405c12f939c7318103..127bb4523e111bca6b7bb1d2d0125d069a1f6b78:/app/controllers/relation_controller.rb?ds=sidebyside diff --git a/app/controllers/relation_controller.rb b/app/controllers/relation_controller.rb index b77d41ead..09c878325 100644 --- a/app/controllers/relation_controller.rb +++ b/app/controllers/relation_controller.rb @@ -71,7 +71,7 @@ class RelationController < ApplicationController new_relation = Relation.from_xml(request.raw_post) if new_relation and new_relation.id == relation.id relation.delete_with_history(new_relation, @user) - render :nothing => true, :status => :success + render :nothing => true else render :nothing => true, :status => :bad_request end