Skip to content

Commit

Permalink
make xml and json caller consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaifi9 committed Sep 22, 2017
1 parent 8e1a737 commit 987bf79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/health_monitor/health_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 987bf79

Please sign in to comment.