Return "action" of a note comment in the xml formatting to

This fixes #360
This commit is contained in:
Kai Krueger 2013-07-20 14:06:29 -06:00 committed by Tom Hughes
parent f12c6b77cc
commit f3d5a215ad

View file

@ -27,6 +27,8 @@ xml.note("lon" => note.lon, "lat" => note.lat) do
xml.user_url user_url(:display_name => comment.author.display_name, :host => SERVER_URL)
end
xml.action comment.event
if comment.body
xml.text comment.body.to_text
xml.html comment.body.to_html