X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1a6765f1a23793e986504445025ec3fd7bd78171..e799022131f3e833179e9058060ec5e136ed2edd:/app/controllers/way_controller.rb diff --git a/app/controllers/way_controller.rb b/app/controllers/way_controller.rb index b443a67c0..3a11d8a60 100644 --- a/app/controllers/way_controller.rb +++ b/app/controllers/way_controller.rb @@ -51,7 +51,7 @@ class WayController < ApplicationController render :nothing => true return when :put - way = Way.from_xml(request.raw_post, true) + way = Way.from_xml(request.raw_post) if way way_in_db = Way.find(way.id) @@ -76,4 +76,5 @@ class WayController < ApplicationController end end end + end