You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
metu.life/app/views/atom/entry.xml.ruby

10 lines
174 B

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