No need for return in last statement of method
This commit is contained in:
parent
59ee89f0b7
commit
6c16d5762c
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue