mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: deleted_by wasn't showing up on refresh
This commit is contained in:
parent
7fd8bb75d9
commit
4540a51a8f
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class PostSerializer < BasicPostSerializer
|
|||
end
|
||||
|
||||
def include_deleted_by?
|
||||
staff? && object.deleted_by.present?
|
||||
scope.is_staff? && object.deleted_by.present?
|
||||
end
|
||||
|
||||
# Summary of the actions taken on this post
|
||||
|
|
Loading…
Reference in a new issue