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:
authorAndrey Kumanyaev <me@zzet.org>2013-04-03 02:28:12 +0400
committerAndrey Kumanyaev <me@zzet.org>2013-04-03 06:20:52 +0400
commit41bbbb6df0300579867c4654d8662b38fa9f0a58 (patch)
treed690fe658cfa986167b7ee042bf07ea8a3bf3787 /app/models/group.rb
parent7af16bbb0fdce36cf8b7e43e5cd64a712dfdaa1d (diff)
Update model methods
Diffstat (limited to 'app/models/group.rb')
-rw-r--r--app/models/group.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/group.rb b/app/models/group.rb
index 5d838d2b9b0..17671c3defe 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -13,6 +13,7 @@
#
class Group < Namespace
+
def add_users_to_project_teams(user_ids, project_access)
UsersProject.add_users_into_projects(
projects.map(&:id),