diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-04 17:10:39 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-05 19:10:52 +0100 |
commit | 9910b7ff99c3d7f89f512c1915ce40ed0c1696e3 (patch) | |
tree | 8c1bde789456fd191afd928172174f6516f032b3 /app/controllers/projects_controller.rb | |
parent | 56a456b43dba7d772db45e2b73aa18b5eab53d37 (diff) | |
download | gitlab-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.rb | 2 |
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, |