spec/dummy/app/models/activities/test_activity.rb in seymour-0.0.3 vs spec/dummy/app/models/activities/test_activity.rb in seymour-0.0.4
- old
+ new
@@ -1,7 +1,11 @@
class TestActivity < Activity
audience :events
- audience :authors, :feed => "UserFeed"
+ audience :users, :feed => "UserFeed"
+
+ def users
+ [actor] + authors
+ end
def events
[]
end
\ No newline at end of file