DG IZ saving the post

This commit is contained in:
ilya 2010-08-17 11:03:31 -07:00
parent 7316c6073c
commit 4f8b8ad3c5

View file

@ -43,6 +43,7 @@ class User
model_class = class_name.to_s.camelize.constantize
post = model_class.instantiate(options)
post.creator_signature = post.sign_with_key(encryption_key)
post.save
post.notify_people
post.socket_to_uid owner.id if (owner_id && post.respond_to?(:socket_to_uid))