diff options
Diffstat (limited to 'app/models/organizations/organization.rb')
-rw-r--r-- | app/models/organizations/organization.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/organizations/organization.rb b/app/models/organizations/organization.rb index 9f2119949fb..489fd6e0da7 100644 --- a/app/models/organizations/organization.rb +++ b/app/models/organizations/organization.rb @@ -38,7 +38,7 @@ module Organizations end def user?(user) - users.exists?(user.id) + organization_users.exists?(user: user) end private |