about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-17 02:20:52 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-17 02:20:52 +0100
commit5ddad41245098f1ab931f732f8b48655a86d57b0 (patch)
tree4102f133b4fe5eb1b4d2b6a0a091c09940a14ab6 /app/models
parentdbd80465c8bc9aa389ea0c656bd8c5d6ad1ee6fa (diff)
Do not display non-Status stream entries anymore
Diffstat (limited to 'app/models')
-rw-r--r--app/models/stream_entry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/stream_entry.rb b/app/models/stream_entry.rb
index 8b41c8c39..ae7ae446e 100644
--- a/app/models/stream_entry.rb
+++ b/app/models/stream_entry.rb
@@ -55,7 +55,7 @@ class StreamEntry < ApplicationRecord
   end
 
   def activity
-    !new_record? ? send(activity_type.underscore) : super
+    !new_record? ? send(activity_type.underscore) || super : super
   end
 
   private