]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Add a newline to the end of the body when reporting an error
[rails.git] / app / controllers / application_controller.rb
index 70a635404038efbc04beb0eb8231c85b90db644d..a0e0e20dcf44b0e8405ab5fc24de275079e74f47 100644 (file)
@@ -243,7 +243,7 @@ class ApplicationController < ActionController::Base
 
       render :text => result.to_s, :content_type => "text/xml"
     else
 
       render :text => result.to_s, :content_type => "text/xml"
     else
-      render :text => message, :status => status
+      render :text => message + "\n", :status => status
     end
   end
   
     end
   end