From 987bf79e6f231796d61c4b4fea14b3a1d2e01f24 Mon Sep 17 00:00:00 2001 From: Talha Saifi Date: Fri, 22 Sep 2017 11:03:50 -0700 Subject: [PATCH] make xml and json caller consistent --- app/controllers/health_monitor/health_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/health_monitor/health_controller.rb b/app/controllers/health_monitor/health_controller.rb index 3e979aaf..110d39b1 100644 --- a/app/controllers/health_monitor/health_controller.rb +++ b/app/controllers/health_monitor/health_controller.rb @@ -17,7 +17,7 @@ def check render json: statuses.to_json end format.xml do - render xml: statuses + render xml: statuses.to_xml end end end