public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Added no-dup to person activities in activity_logger
Michael Hartl (author)
Tue May 06 11:26:07 -0700 2008
commit  7ea722524b9d692fb26ee3f4d4c179880721fcbc
tree    56836bc99d67e0202c67036adee24bcab373a8ac
parent  dba4fdd3f36315a82a1d5021c07b4a3135bffcfa
...
19
20
21
22
 
 
 
23
24
25
...
19
20
21
 
22
23
24
25
26
27
0
@@ -19,6 +19,8 @@ module ActivityLogger
0
       # Prevent duplicate entries in the feed.
0
       c.activities << activity unless c.activities.include?(activity)
0
     end
0
- person.activities << activity if include_person
0
+ if include_person
0
+ person.activities << activity unless person.activity.include?(activity)
0
+ end
0
   end
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.