summaryrefslogtreecommitdiff
path: root/app/controllers/projects_controller.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2016-01-05 16:40:23 +0100
committerDouwe Maan <douwe@gitlab.com>2016-01-05 16:40:23 +0100
commitfd91b48f24d9f9d5e8f357b7b5324d279ce41077 (patch)
treecfa6e79e3bdbfde4b67b7bc549b6c3548a66bdaf /app/controllers/projects_controller.rb
parent7dedd997b910f65ee3c494d906fbc2392962c114 (diff)
parent7c3c901ada6fc4a6d2d3ce7a2cf8188cf6615008 (diff)
downloadgitlab-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.rb2
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: {