Replace render :nothing with head
[rails.git] / app / controllers / changeset_controller.rb
index 71fc2a59a58659e5cc37efc3169f77891a57f04d..9aaf6c7e01a78dbdeb47ed46573033213a6c40c4 100644 (file)
@@ -61,7 +61,7 @@ class ChangesetController < ApplicationController
     changeset.set_closed_time_now
 
     changeset.save!
-    render :nothing => true
+    head :ok
   end
 
   ##