summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c94e059)
There seems to be some sort problem with ruby 1.9 where a response
body that is a single line with no newline causes the response not
to be sent properly.
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