]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/node_controller.rb
split_node_tags: Remove old unused files.
[rails.git] / app / controllers / node_controller.rb
index edc3675e58382fce0b8b5801a2e7180ab280cec2..9f8f4a38bdf48e200dae71ce99e14cbf9ded46c3 100644 (file)
@@ -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!