diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-06-25 21:58:41 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-06-25 21:58:41 +0300 |
commit | 2024522b51ae672df3b04ec0ed3d17eefcb45264 (patch) | |
tree | a8471d2eb3b55aa3d9a2de1c7bce443415d2cfef /app/models/project_team.rb | |
parent | d38eb9bb2668afe8ddd2976490c669b8de4c507e (diff) |
Bring changes from EE
Diffstat (limited to 'app/models/project_team.rb')
-rw-r--r-- | app/models/project_team.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/project_team.rb b/app/models/project_team.rb index 33280eda0b9..9a38806baab 100644 --- a/app/models/project_team.rb +++ b/app/models/project_team.rb @@ -24,7 +24,7 @@ class ProjectTeam end def add_role(user, role, current_user: nil) - send(:"add_#{role}", user, current_user: current_user) # rubocop:disable GitlabSecurity/PublicSend + public_send(:"add_#{role}", user, current_user: current_user) # rubocop:disable GitlabSecurity/PublicSend end def find_member(user_id) |