Fix Snippet#participants.
This commit is contained in:
parent
c644dd01a4
commit
a9b04c4536
3 changed files with 4 additions and 0 deletions
|
@ -138,6 +138,7 @@ class Commit
|
|||
users = []
|
||||
users << author
|
||||
users << committer
|
||||
|
||||
mentions = []
|
||||
mentions << self.mentioned_users(current_user, project)
|
||||
|
||||
|
|
|
@ -122,6 +122,7 @@ module Issuable
|
|||
users = []
|
||||
users << author
|
||||
users << assignee if is_assigned?
|
||||
|
||||
mentions = []
|
||||
mentions << self.mentioned_users(current_user)
|
||||
|
||||
|
|
|
@ -91,6 +91,8 @@ class Snippet < ActiveRecord::Base
|
|||
users = []
|
||||
users << author
|
||||
|
||||
mentions = []
|
||||
|
||||
notes.each do |note|
|
||||
users << note.author
|
||||
mentions << note.mentioned_users(current_user)
|
||||
|
|
Loading…
Reference in a new issue