summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-04 17:10:39 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-05 19:10:52 +0100
commit9910b7ff99c3d7f89f512c1915ce40ed0c1696e3 (patch)
tree8c1bde789456fd191afd928172174f6516f032b3 /app/controllers/projects_controller.rb
parent56a456b43dba7d772db45e2b73aa18b5eab53d37 (diff)
downloadgitlab-ce-9910b7ff99c3d7f89f512c1915ce40ed0c1696e3.tar.gz
Allow groups to be mentioned.
Resolves #1673.
Diffstat (limited to 'app/controllers/projects_controller.rb')
-rw-r--r--app/controllers/projects_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb
index ebe48265c63..462ab3d4749 100644
--- a/app/controllers/projects_controller.rb
+++ b/app/controllers/projects_controller.rb
@@ -102,7 +102,7 @@ class ProjectsController < ApplicationController
note_type = params['type']
note_id = params['type_id']
autocomplete = ::Projects::AutocompleteService.new(@project)
- participants = ::Projects::ParticipantsService.new(@project).execute(note_type, note_id)
+ participants = ::Projects::ParticipantsService.new(@project, current_user).execute(note_type, note_id)
@suggestions = {
emojis: autocomplete_emojis,