about summary refs log tree commit diff
path: root/app/views/stream_entries/show.atom.ruby
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/stream_entries/show.atom.ruby')
-rw-r--r--app/views/stream_entries/show.atom.ruby9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/stream_entries/show.atom.ruby b/app/views/stream_entries/show.atom.ruby
new file mode 100644
index 000000000..e0e089f46
--- /dev/null
+++ b/app/views/stream_entries/show.atom.ruby
@@ -0,0 +1,9 @@
+Nokogiri::XML::Builder.new do |xml|
+  entry(xml, true) do
+    author(xml) do
+      include_author xml, @entry.account
+    end
+
+    include_entry xml, @entry
+  end
+end.to_xml