From: Tom Hughes Date: Thu, 1 Nov 2012 12:42:47 +0000 (+0000) Subject: Revert "Add a newline to the end of the body when reporting an error" X-Git-Tag: live~5277 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/3ef02b86f00e9f57d1a5f938c4de209b26d5b61b Revert "Add a newline to the end of the body when reporting an error" This reverts commit 59c97f4866652c025ec4f61cabcaaedd3124ab33. --- 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