diff options
| author | Douwe Maan <douwe@gitlab.com> | 2016-01-05 16:40:23 +0100 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2016-01-05 16:40:23 +0100 |
| commit | fd91b48f24d9f9d5e8f357b7b5324d279ce41077 (patch) | |
| tree | cfa6e79e3bdbfde4b67b7bc549b6c3548a66bdaf /app/controllers/projects_controller.rb | |
| parent | 7dedd997b910f65ee3c494d906fbc2392962c114 (diff) | |
| parent | 7c3c901ada6fc4a6d2d3ce7a2cf8188cf6615008 (diff) | |
| download | gitlab-ce-fd91b48f24d9f9d5e8f357b7b5324d279ce41077.tar.gz | |
Merge branch 'master' into milestone-ref
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 2dab04f2a7c..3004722bce0 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: { |
