Convert XML document to a string when returning it
Otherwise the Rak::ETag module will throw an exception when it tries to test if the response is empty.
This commit is contained in:
parent
13aae29476
commit
ea9a4c2aa2
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class ChangesetController < ApplicationController
|
|||
|
||||
check_changeset_consistency(changeset, @user)
|
||||
changeset.update_from(new_changeset, @user)
|
||||
render :xml => changeset.to_xml
|
||||
render :xml => changeset.to_xml.to_s
|
||||
end
|
||||
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue