]> git.openstreetmap.org Git - rails.git/commitdiff
Replace render :nothing with head
authorTom Hughes <tom@compton.nu>
Sun, 4 Jun 2017 18:56:39 +0000 (19:56 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 4 Jun 2017 19:24:53 +0000 (20:24 +0100)
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
 
   ##