X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c24c2e481cc6d27e76274ed4e32668a4690a7788..b96f3867e61dad3d7f14a0d8da01ea0cab1c83ec:/app/controllers/api/ways_controller.rb?ds=inline diff --git a/app/controllers/api/ways_controller.rb b/app/controllers/api/ways_controller.rb index a0feabff3..f88f3a1d0 100644 --- a/app/controllers/api/ways_controller.rb +++ b/app/controllers/api/ways_controller.rb @@ -16,7 +16,7 @@ module Api def create assert_method :put - way = Way.from_xml(request.raw_post, true) + way = Way.from_xml(request.raw_post, :create => true) # Assume that Way.from_xml has thrown an exception if there is an error parsing the xml way.create_with_history current_user