summaryrefslogtreecommitdiff
path: root/app/models/commit.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-15 18:59:01 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-15 18:59:01 +0200
commita9b04c4536ef55072f8ff763e85a30099941a1c6 (patch)
tree1655b26601456a854e5ecac341af358647839b02 /app/models/commit.rb
parentc644dd01a41714bba7b77a3f5aa7997e6eee15fd (diff)
downloadgitlab-ce-a9b04c4536ef55072f8ff763e85a30099941a1c6.tar.gz
Fix Snippet#participants.
Diffstat (limited to 'app/models/commit.rb')
-rw-r--r--app/models/commit.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/commit.rb b/app/models/commit.rb
index f54696c378c..6677dcb1e34 100644
--- a/app/models/commit.rb
+++ b/app/models/commit.rb
@@ -138,6 +138,7 @@ class Commit
users = []
users << author
users << committer
+
mentions = []
mentions << self.mentioned_users(current_user, project)