diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-15 18:59:01 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-15 18:59:01 +0200 |
commit | a9b04c4536ef55072f8ff763e85a30099941a1c6 (patch) | |
tree | 1655b26601456a854e5ecac341af358647839b02 /app/models/snippet.rb | |
parent | c644dd01a41714bba7b77a3f5aa7997e6eee15fd (diff) | |
download | gitlab-ce-a9b04c4536ef55072f8ff763e85a30099941a1c6.tar.gz |
Fix Snippet#participants.
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index c53d2a8d603..13703f4115f 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -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) |