mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 10:14:52 -06:00
fix regression, 2 people liked this text not expanding correctly
This commit is contained in:
parent
30eed4c8b4
commit
e420ce3da3
@ -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 New Issue
Block a user