diff options
Diffstat (limited to 'app/roles/team.rb')
-rw-r--r-- | app/roles/team.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/roles/team.rb b/app/roles/team.rb index bf3a67027d2..27b1cc65897 100644 --- a/app/roles/team.rb +++ b/app/roles/team.rb @@ -25,8 +25,8 @@ module Team # with passed access role by user id def add_user_id_to_team(user_id, access_role) users_projects.create( - :user_id => user_id, - :project_access => access_role + user_id: user_id, + project_access: access_role ) end |