mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 09:23:43 +08: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