about summary refs log tree commit diff
path: root/app/views/stream_entries
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-02-29 20:06:39 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-02-29 20:06:39 +0100
commit23d08c6749eb142b24f22045f643d0591af579ff (patch)
treeb0a9a211e03e77be014ce64659e7674b7419b213 /app/views/stream_entries
parent0e8f59c16fcb21301c736ecbc4424cb4c5388c42 (diff)
Changing the use of config constants to the Rails configuration object
Diffstat (limited to 'app/views/stream_entries')
-rw-r--r--app/views/stream_entries/show.atom.ruby4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/stream_entries/show.atom.ruby b/app/views/stream_entries/show.atom.ruby
index e0e089f46..a298f3269 100644
--- a/app/views/stream_entries/show.atom.ruby
+++ b/app/views/stream_entries/show.atom.ruby
@@ -1,9 +1,9 @@
 Nokogiri::XML::Builder.new do |xml|
   entry(xml, true) do
     author(xml) do
-      include_author xml, @entry.account
+      include_author xml, @stream_entry.account
     end
 
-    include_entry xml, @entry
+    include_entry xml, @stream_entry
   end
 end.to_xml