diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-24 15:33:51 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-24 15:33:51 +0100 |
commit | 672cbbff959c66ba10740ed17671d93060410d93 (patch) | |
tree | a00cdf076a7a03dd58ad0d7998139dafe27bd71b /app/controllers | |
parent | d84ca3e81530415e7d3c03c8cf7a8db5071b0bcb (diff) | |
download | gitlab-ce-672cbbff959c66ba10740ed17671d93060410d93.tar.gz |
Only allow group/project members to mention `@all`
Diffstat (limited to 'app/controllers')
-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 bf5e25ff895..682dbf2766a 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -178,7 +178,7 @@ class ProjectsController < ApplicationController def markdown_preview text = params[:text] - ext = Gitlab::ReferenceExtractor.new(@project, current_user) + ext = Gitlab::ReferenceExtractor.new(@project, current_user, current_user) ext.analyze(text) render json: { |