1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app/views/atom/entry.xml.ruby

9 lines
174 B
Ruby

Nokogiri::XML::Builder.new do |xml|
entry(xml, true) do
author(xml) do
include_author xml, @entry.account
end
include_entry xml, @entry
end
end.to_xml