- if node.visible
- new_node = Node.from_xml(request.raw_post)
-
- if new_node and new_node.id == node.id
- node.user_id = @user.id
- node.latitude = new_node.latitude
- node.longitude = new_node.longitude
- node.tags = new_node.tags
- node.save_with_history!
+ if new_node and new_node.id == node.id
+ node.user_id = @user.id
+ node.latitude = new_node.latitude
+ node.longitude = new_node.longitude
+ node.tags = new_node.tags
+ node.visible = true
+ node.save_with_history!