summaryrefslogtreecommitdiff
path: root/lib/gitlab/asciidoc.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-04-21 10:17:19 -0500
committerToon Claes <toon@gitlab.com>2017-04-27 13:22:17 +0200
commit4f2d6b3e21911ab29ae18dff1be909d94f3127ed (patch)
treeea7186401f4b0fa02970c55f788b1dabeb2a247a /lib/gitlab/asciidoc.rb
parent05e0f504530a162d4bcb886adf504c12cffd5934 (diff)
downloadgitlab-ce-4f2d6b3e21911ab29ae18dff1be909d94f3127ed.tar.gz
Refactor MarkupHelper
Diffstat (limited to 'lib/gitlab/asciidoc.rb')
-rw-r--r--lib/gitlab/asciidoc.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/gitlab/asciidoc.rb b/lib/gitlab/asciidoc.rb
index b157b59f9dd..6a671ab2630 100644
--- a/lib/gitlab/asciidoc.rb
+++ b/lib/gitlab/asciidoc.rb
@@ -14,15 +14,9 @@ module Gitlab
# Public: Converts the provided Asciidoc markup into HTML.
#
# input - the source text in Asciidoc format
- # context - a Hash with the template context:
- # :commit
- # :project
- # :project_wiki
- # :requested_path
- # :ref
# asciidoc_opts - a Hash of options to pass to the Asciidoctor converter
#
- def self.render(input, context, asciidoc_opts = {})
+ def self.render(input, asciidoc_opts = {})
asciidoc_opts.reverse_merge!(
safe: :secure,
backend: :gitlab_html5,