From: Tom Hughes Date: Sun, 4 Jun 2017 18:56:39 +0000 (+0100) Subject: Replace render :nothing with head X-Git-Tag: live~3353 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/03a9df92888951a4575b620892d1b1308cfc0f71?ds=sidebyside Replace render :nothing with head --- diff --git a/app/controllers/changeset_controller.rb b/app/controllers/changeset_controller.rb index 71fc2a59a..9aaf6c7e0 100644 --- a/app/controllers/changeset_controller.rb +++ b/app/controllers/changeset_controller.rb @@ -61,7 +61,7 @@ class ChangesetController < ApplicationController changeset.set_closed_time_now changeset.save! - render :nothing => true + head :ok end ##