summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorTieu-Philippe KHIM <khim.tieu.philippe@gmail.com>2017-06-12 19:21:13 +0200
committerTieu-Philippe KHIM <khim.tieu.philippe@gmail.com>2017-06-12 19:21:13 +0200
commit3c1700cde65ef8a410c2c2a9f44727613d3ef9ff (patch)
tree658c251d7b9b7f957b8350db1ef442c883401ce1 /app/views/layouts
parentb16730fc8317b282d5dc86dbc8936c74303f5a36 (diff)
downloadgitlab-ce-3c1700cde65ef8a410c2c2a9f44727613d3ef9ff.tar.gz
Refactor atom builder by using xml.atom layout
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/xml.atom.builder4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/layouts/xml.atom.builder b/app/views/layouts/xml.atom.builder
new file mode 100644
index 00000000000..4ee09cb87a1
--- /dev/null
+++ b/app/views/layouts/xml.atom.builder
@@ -0,0 +1,4 @@
+xml.instruct!
+xml.feed 'xmlns' => 'http://www.w3.org/2005/Atom', 'xmlns:media' => 'http://search.yahoo.com/mrss/' do
+ xml << yield
+end