summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Chao <mchao@gitlab.com>2018-05-24 16:54:32 +0800
committerMark Chao <mchao@gitlab.com>2018-06-22 10:23:29 +0800
commit1eb214216c3e9e7c4ae8fbf60898db7d3b29f257 (patch)
treec9064d64c7175a79dcb80bb69df02a14d1682739
parent213abe5bea817c43c0b80fd5cdd7dc0139fc0289 (diff)
downloadgitlab-ce-1eb214216c3e9e7c4ae8fbf60898db7d3b29f257.tar.gz
trying 2
-rw-r--r--app/models/project_team.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_team.rb b/app/models/project_team.rb
index cc423023724..2ddedaf3021 100644
--- a/app/models/project_team.rb
+++ b/app/models/project_team.rb
@@ -20,7 +20,7 @@ class ProjectTeam
end
def add_maintainer(user, current_user: nil)
- add_user(user, :master, current_user: current_user)
+ add_user(user, :maintainer, current_user: current_user)
end
def add_role(user, role, current_user: nil)