fixes for follows, initial follow event code

This commit is contained in:
Kyle Drake 2014-05-08 08:47:28 -07:00
parent 2097350a1c
commit 070d8df1db
6 changed files with 24 additions and 9 deletions

View file

@ -4,6 +4,6 @@ class ProfileComment < Sequel::Model
many_to_one :actioning_site, :class => :Site
def after_create
self.event = Event.create site_id: site.id
self.event = Event.create site_id: site.id, actioning_site_id: actioning_site.id
end
end
end