debian-mirror-gitlab/app/views/layouts/xml.atom.builder
2021-03-11 19:13:27 +05:30

6 lines
167 B
Ruby

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