debian-mirror-gitlab/app/views/layouts/xml.atom.builder
2017-09-10 17:25:29 +05:30

4 lines
136 B
Ruby

xml.instruct!
xml.feed 'xmlns' => 'http://www.w3.org/2005/Atom', 'xmlns:media' => 'http://search.yahoo.com/mrss/' do
xml << yield
end