DG IZ saving the post
This commit is contained in:
parent
7316c6073c
commit
4f8b8ad3c5
1 changed files with 1 additions and 0 deletions
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue