Fixed node functional tests. A couple of changes to the old_node model and node contr...
[rails.git] / app / controllers / node_controller.rb
index 29bf672e2d5606e0d2535cbe480972544f6fb94d..62e680388471203ad94b1a2100ce041e8b446276 100644 (file)
@@ -96,7 +96,7 @@ class NodeController < ApplicationController
       
       if new_node and new_node.id == node.id
         node.delete_with_history(new_node, @user)
-        render :nothing => true, :status => :success
+        render :nothing => true
       else
         render :nothing => true, :status => :bad_request
       end