diff --git a/app/serializers/topic_list_item_serializer.rb b/app/serializers/topic_list_item_serializer.rb index 0e45de727e9..7962c400c03 100644 --- a/app/serializers/topic_list_item_serializer.rb +++ b/app/serializers/topic_list_item_serializer.rb @@ -88,7 +88,7 @@ class TopicListItemSerializer < ListableTopicSerializer end def allowed_user_count - return object.allowed_users.count + object.allowed_users.count end def include_allowed_user_count?