1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-16 15:48:17 +09:00
mastodon/app/views/stream_entries/show.atom.ruby

10 lines
188 B
Ruby

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