fix regression, 2 people liked this text not expanding correctly

This commit is contained in:
Sam 2013-09-11 11:24:42 +10:00
parent 30eed4c8b4
commit e420ce3da3

View File

@ -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