Change variable name

This commit is contained in:
Alfredo Sumaran 2016-04-08 12:23:44 -05:00 committed by Jacob Schatz
parent 05628e0c2f
commit 1eeabdc6a5
1 changed files with 3 additions and 3 deletions

View File

@ -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
[]