]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/relation_controller.rb
Fixed problems with the relations functional tests.
[rails.git] / app / controllers / relation_controller.rb
index b77d41ead34abbdefdfbf44c546196d1c3ff8dda..09c878325fce76675fc6587fc694a89d832a4777 100644 (file)
@@ -71,7 +71,7 @@ class RelationController < ApplicationController
       new_relation = Relation.from_xml(request.raw_post)
       if new_relation and new_relation.id == relation.id
         relation.delete_with_history(new_relation, @user)
-        render :nothing => true, :status => :success
+        render :nothing => true
       else
         render :nothing => true, :status => :bad_request
       end