RS, DG, comments socket again

This commit is contained in:
Raphael 2010-08-10 11:05:29 -07:00
parent aa4d428ab7
commit b645eb3f3d

View file

@ -76,6 +76,10 @@ class Comment
end
def send_to_view
SocketsController.new.outgoing(self)
people_with_permissions.each{|f|
SocketsController.new.outgoing(f.owner_id, self) if f.owner_id
}
SocketsController.new.outgoing(person.owner_id, self) if person.owner_id
end
end