Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/project_authorization.rb')
-rw-r--r--app/models/project_authorization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_authorization.rb b/app/models/project_authorization.rb
index 194f37fcb89..bb46cd2b6f0 100644
--- a/app/models/project_authorization.rb
+++ b/app/models/project_authorization.rb
@@ -16,7 +16,7 @@ class ProjectAuthorization < ApplicationRecord
scope :non_guests, -> { where('access_level > ?', ::Gitlab::Access::GUEST) }
scope :owners, -> { where(access_level: ::Gitlab::Access::OWNER) }
- scope :preload_user, -> { preload(:user) }
+ scope :preload_users, -> { preload(:user) }
# TODO: To be removed after https://gitlab.com/gitlab-org/gitlab/-/issues/418205
before_create :assign_is_unique