summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-13 16:23:00 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-04-20 13:01:43 -0400
commit34a23bda6064fcbba7bbeaf5f5bdba25abcfa041 (patch)
tree4e23c607c0808b9b3136b9a27302d9301d3c5afc /lib
parent43c62ca3f262ac6bfbdbe36312d621dac0a12da1 (diff)
downloadgitlab-ce-34a23bda6064fcbba7bbeaf5f5bdba25abcfa041.tar.gz
Add current_user to filter context
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/markdown.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/markdown.rb b/lib/gitlab/markdown.rb
index 1babdc476bd..f2302015437 100644
--- a/lib/gitlab/markdown.rb
+++ b/lib/gitlab/markdown.rb
@@ -67,6 +67,7 @@ module Gitlab
whitelist: sanitization_whitelist,
reference_class: html_options[:class],
only_path: options[:reference_only_path],
+ current_user: current_user,
project: project
}