]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/nodes_controller.rb
Remove assert_method from api controllers
[rails.git] / app / controllers / api / nodes_controller.rb
index fb808828c80a221d794b205cd256d28f34b7af7c..0604aa356576655569bbf4adb218cf636762a76e 100644 (file)
@@ -52,8 +52,6 @@ module Api
 
     # Create a node from XML.
     def create
-      assert_method :put
-
       node = Node.from_xml(request.raw_post, :create => true)
 
       # Assume that Node.from_xml has thrown an exception if there is an error parsing the xml