Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-04-21 18:17:19 +0300
committerToon Claes <toon@gitlab.com>2017-04-27 14:22:17 +0300
commit4f2d6b3e21911ab29ae18dff1be909d94f3127ed (patch)
treeea7186401f4b0fa02970c55f788b1dabeb2a247a /lib/gitlab/other_markup.rb
parent05e0f504530a162d4bcb886adf504c12cffd5934 (diff)
Refactor MarkupHelper
Diffstat (limited to 'lib/gitlab/other_markup.rb')
-rw-r--r--lib/gitlab/other_markup.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/gitlab/other_markup.rb b/lib/gitlab/other_markup.rb
index 214dba0fa11..c2adc9aa10b 100644
--- a/lib/gitlab/other_markup.rb
+++ b/lib/gitlab/other_markup.rb
@@ -4,14 +4,8 @@ module Gitlab
# Public: Converts the provided markup into HTML.
#
# input - the source text in a markup format
- # context - a Hash with the template context:
- # :commit
- # :project
- # :project_wiki
- # :requested_path
- # :ref
#
- def self.render(file_name, input, context)
+ def self.render(file_name, input)
html = GitHub::Markup.render(file_name, input).
force_encoding(input.encoding)