diff options
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) |
