mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-17 19:12:37 -05:00
fix regression, 2 people liked this text not expanding correctly
This commit is contained in:
parent
30eed4c8b4
commit
e420ce3da3
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class PostActionUserSerializer < BasicUserSerializer
|
|||
end
|
||||
|
||||
def post_url
|
||||
object.related_post.url if object.related_post.id
|
||||
object.related_post.url if object.related_post_id && object.related_post
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue