X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/53817fa9e8d955df0891d156f21b7269b4ed08fc..f4b851074423255ae034f77b3430cb3993b1e0d2:/app/controllers/api/ways_controller.rb diff --git a/app/controllers/api/ways_controller.rb b/app/controllers/api/ways_controller.rb index 5e72cfe20..0828e311f 100644 --- a/app/controllers/api/ways_controller.rb +++ b/app/controllers/api/ways_controller.rb @@ -47,8 +47,6 @@ module Api end def create - assert_method :put - 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