X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..5781674c1b8c4935afd786246705460f7bd38b6d:/app/controllers/old_controller.rb 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