diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-04-08 12:23:44 -0500 |
---|---|---|
committer | Jacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home> | 2016-04-16 07:21:28 -0400 |
commit | 1eeabdc6a5c5ad751891d725a0957a24282f7a9c (patch) | |
tree | 0a7bd6dbc80a512d5c1dc3471256f0eac29ebd52 /app/services/projects | |
parent | 05628e0c2ffc5a3378ad4d89a212b1bd652a9d60 (diff) | |
download | gitlab-ce-1eeabdc6a5c5ad751891d725a0957a24282f7a9c.tar.gz |
Change variable name
Diffstat (limited to 'app/services/projects')
-rw-r--r-- | app/services/projects/participants_service.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/projects/participants_service.rb b/app/services/projects/participants_service.rb index 1eaecc0d270..11dc3542fa2 100644 --- a/app/services/projects/participants_service.rb +++ b/app/services/projects/participants_service.rb @@ -1,9 +1,9 @@ module Projects class ParticipantsService < BaseService - def execute(note_type, note_id) - @target = get_target(note_type, note_id) + def execute(noteable_type, noteable_id) + @target = get_target(noteable_type, noteable_id) participating = - if note_type && note_id + if noteable_type && noteable_id participants_in_target else [] |