Skip to content

Commit 09ec2e5

Browse files
committed
Typo :/
1 parent a3749de commit 09ec2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/user.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ def team_member_of?(user)
362362
end
363363

364364
def belongs_to_team?(team)
365-
team.member_account.pluck(:id).includes?(id)
365+
team.member_accounts.pluck(:id).include?(id)
366366
end
367367

368368
def complete_registration!(opts={})

0 commit comments

Comments
 (0)