Fix Snippet#participants.

This commit is contained in:
Douwe Maan 2015-04-15 18:59:01 +02:00
parent c644dd01a4
commit a9b04c4536
3 changed files with 4 additions and 0 deletions

View file

@ -138,6 +138,7 @@ class Commit
users = []
users << author
users << committer
mentions = []
mentions << self.mentioned_users(current_user, project)

View file

@ -122,6 +122,7 @@ module Issuable
users = []
users << author
users << assignee if is_assigned?
mentions = []
mentions << self.mentioned_users(current_user)

View file

@ -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)