From 1040355fb318955edb18cf6e7ce4d85f7be3dcfa Mon Sep 17 00:00:00 2001 From: Mohit Sindhwani Date: Sat, 7 Oct 2023 17:18:02 +0800 Subject: [PATCH] Adds DOCTYPE html to the response from `up` on the HealthController --- railties/lib/rails/health_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/lib/rails/health_controller.rb b/railties/lib/rails/health_controller.rb index 3d4f8b8203313..6de04dc5ce510 100644 --- a/railties/lib/rails/health_controller.rb +++ b/railties/lib/rails/health_controller.rb @@ -49,7 +49,7 @@ def render_down end def html_status(color:) - %().html_safe + %().html_safe end end end