X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0093db5ffba2c05c5f48824531cd72130b0ba5b1..eab2eeaa47b2aa8c7f52371f9bfdd60711a41fb6:/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