mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
No need for return in last statement of method
This commit is contained in:
parent
59ee89f0b7
commit
6c16d5762c
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class TopicListItemSerializer < ListableTopicSerializer
|
||||||
end
|
end
|
||||||
|
|
||||||
def allowed_user_count
|
def allowed_user_count
|
||||||
return object.allowed_users.count
|
object.allowed_users.count
|
||||||
end
|
end
|
||||||
|
|
||||||
def include_allowed_user_count?
|
def include_allowed_user_count?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue