summaryrefslogtreecommitdiff
path: root/app/views/layouts
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-06-13 08:49:13 +0000
committerRémy Coutable <remy@rymai.me>2017-06-13 08:49:13 +0000
commit896aa2a1f0a79a18ad1cd7530fa0c6acaa41288d (patch)
tree3c7469d592892f9297af0f5207dc24115c7f7ef2 /app/views/layouts
parent578f460674e14b4c8ca71cda7ac5a0378b724712 (diff)
parent3c1700cde65ef8a410c2c2a9f44727613d3ef9ff (diff)
downloadgitlab-ce-896aa2a1f0a79a18ad1cd7530fa0c6acaa41288d.tar.gz
Merge branch 'fix/33584-atom-layout' into 'master'
Refactor atom builder by using a layout See merge request !12114
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