X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9328e84ba18070c73975c64e84f6bcf2890b87dc..6c31dbaaec8dcd86682acf404be5f80fc8c0a352:/app/controllers/node_controller.rb diff --git a/app/controllers/node_controller.rb b/app/controllers/node_controller.rb index edc3675e5..9f8f4a38b 100644 --- a/app/controllers/node_controller.rb +++ b/app/controllers/node_controller.rb @@ -15,6 +15,7 @@ class NodeController < ApplicationController node = Node.from_xml(request.raw_post, true) if node + node.version = 0 node.user_id = @user.id node.visible = true node.save_with_history!