Commit 1eeabdc6 authored by Alfredo Sumaran's avatar Alfredo Sumaran Committed by Jacob Schatz

Change variable name

parent 05628e0c
module Projects module Projects
class ParticipantsService < BaseService class ParticipantsService < BaseService
def execute(note_type, note_id) def execute(noteable_type, noteable_id)
@target = get_target(note_type, note_id) @target = get_target(noteable_type, noteable_id)
participating = participating =
if note_type && note_id if noteable_type && noteable_id
participants_in_target participants_in_target
else else
[] []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment