X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/734cbb967de8e04f15e01ee2103033064dd290d4..a2498928e470b358f69902d9fdc72a1a80aa5bf8:/app/controllers/node_controller.rb diff --git a/app/controllers/node_controller.rb b/app/controllers/node_controller.rb index 29bf672e2..62e680388 100644 --- a/app/controllers/node_controller.rb +++ b/app/controllers/node_controller.rb @@ -96,7 +96,7 @@ class NodeController < ApplicationController if new_node and new_node.id == node.id node.delete_with_history(new_node, @user) - render :nothing => true, :status => :success + render :nothing => true else render :nothing => true, :status => :bad_request end