allow end user to recover a post they delete

automatically delete stubs after 1 day
This commit is contained in:
Sam
2013-07-22 17:48:24 +10:00
parent d68f30c09d
commit 1f3c5cb656
13 changed files with 131 additions and 23 deletions

View File

@ -41,7 +41,8 @@ class PostSerializer < BasicPostSerializer
:hidden_reason_id,
:trust_level,
:deleted_at,
:deleted_by
:deleted_by,
:user_deleted
def moderator?