mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 13:17:20 -05:00
fix regression, 2 people liked this text not expanding correctly
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user