This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/views/atom/entry.xml.ruby

10 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