1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-25 15:46:44 +09:00
YuruToot/app/views/stream_entries/show.atom.ruby

10 lines
188 B
Plaintext
Raw Normal View History

2016-02-23 03:11:07 +09:00
Nokogiri::XML::Builder.new do |xml|
entry(xml, true) do
author(xml) do
include_author xml, @stream_entry.account
2016-02-23 03:11:07 +09:00
end
include_entry xml, @stream_entry
2016-02-23 03:11:07 +09:00
end
end.to_xml