mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
bugfix: when expanding "1 person flagged for moderation" target post is not clickable
This commit is contained in:
parent
858e51c8ab
commit
df5f9d66e5
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class PostActionUserSerializer < BasicUserSerializer
|
|||
end
|
||||
|
||||
def post_url
|
||||
object.related_post_id
|
||||
object.related_post.url if object.related_post.id
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue