From 3ef02b86f00e9f57d1a5f938c4de209b26d5b61b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 1 Nov 2012 12:42:47 +0000 Subject: [PATCH] Revert "Add a newline to the end of the body when reporting an error" This reverts commit 59c97f4866652c025ec4f61cabcaaedd3124ab33. --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a0e0e20dc..70a635404 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -243,7 +243,7 @@ class ApplicationController < ActionController::Base render :text => result.to_s, :content_type => "text/xml" else - render :text => message + "\n", :status => status + render :text => message, :status => status end end -- 2.43.2