projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59c97f4
)
Revert "Add a newline to the end of the body when reporting an error"
author
Tom Hughes
<tom@compton.nu>
Thu, 1 Nov 2012 12:42:47 +0000
(12:42 +0000)
committer
Tom Hughes
<tom@compton.nu>
Thu, 1 Nov 2012 12:42:47 +0000
(12:42 +0000)
This reverts commit
59c97f4866652c025ec4f61cabcaaedd3124ab33
.
app/controllers/application_controller.rb
patch
|
blob
|
history
diff --git
a/app/controllers/application_controller.rb
b/app/controllers/application_controller.rb
index a0e0e20dcf44b0e8405ab5fc24de275079e74f47..70a635404038efbc04beb0eb8231c85b90db644d 100644
(file)
--- 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