summaryrefslogtreecommitdiff
path: root/app/views/layouts/xml.atom.builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/xml.atom.builder')
-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