summaryrefslogtreecommitdiff
path: root/app/helpers/gitlab_markdown_helper.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-16 13:44:50 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-12-16 13:44:50 +0100
commit40104746d6418b54cd80726d77c05e85cf2ddbb3 (patch)
treeaaa9bd256a8fefc7fb9dfcbe123dc869550dfb71 /app/helpers/gitlab_markdown_helper.rb
parent5ffed49fef07a06f46f7e4e3511d7f6b9f378892 (diff)
parent907209821590efc34b11b60a042c6554bd11897f (diff)
downloadgitlab-ce-40104746d6418b54cd80726d77c05e85cf2ddbb3.tar.gz
Merge remote-tracking branch 'origin/feature/update-rubocop'
Diffstat (limited to 'app/helpers/gitlab_markdown_helper.rb')
-rw-r--r--app/helpers/gitlab_markdown_helper.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/helpers/gitlab_markdown_helper.rb b/app/helpers/gitlab_markdown_helper.rb
index a0cf3dc0843..ca41657cec1 100644
--- a/app/helpers/gitlab_markdown_helper.rb
+++ b/app/helpers/gitlab_markdown_helper.rb
@@ -65,7 +65,8 @@ module GitlabMarkdownHelper
end
def asciidoc(text)
- Gitlab::Asciidoc.render(text,
+ Gitlab::Asciidoc.render(
+ text,
project: @project,
current_user: (current_user if defined?(current_user)),