tootlab-mastodon/app/views/atom/entry.xml.ruby

10 lines
174 B
Plaintext
Raw Normal View History

2016-02-22 13:11:07 -05:00
Nokogiri::XML::Builder.new do |xml|
entry(xml, true) do
author(xml) do
include_author xml, @entry.account
2016-02-22 13:11:07 -05:00
end
include_entry xml, @entry
2016-02-22 13:11:07 -05:00
end
end.to_xml