X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..b87e60e0b64340870818b140757f8219a7161212:/app/controllers/old_controller.rb?ds=inline diff --git a/app/controllers/old_controller.rb b/app/controllers/old_controller.rb index c23df70df..a542a9bde 100644 --- a/app/controllers/old_controller.rb +++ b/app/controllers/old_controller.rb @@ -39,7 +39,7 @@ class OldController < ApplicationController def version if @old_element.redacted? and not show_redactions? - render :nothing => true, :status => :forbidden + render :text => "", :status => :forbidden else response.last_modified = @old_element.timestamp @@ -66,7 +66,7 @@ class OldController < ApplicationController end # just return an empty 200 OK for success - render :nothing => true + render :text => "" end private