From e420ce3da362307def7a721e2d5e95778657d566 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 11 Sep 2013 11:24:42 +1000 Subject: [PATCH] fix regression, 2 people liked this text not expanding correctly --- app/serializers/post_action_user_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/post_action_user_serializer.rb b/app/serializers/post_action_user_serializer.rb index ff1b1b421..6b791d8c6 100644 --- a/app/serializers/post_action_user_serializer.rb +++ b/app/serializers/post_action_user_serializer.rb @@ -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