Commit 35fd7e6c authored by Toon Claes's avatar Toon Claes

Avoid including the MarkupHelper

parent 66c8756e
......@@ -241,4 +241,6 @@ module MarkupHelper
Banzai.post_process(html, context)
end
extend self
end
require 'securerandom'
class Repository
include MarkupHelper
include Gitlab::ShellAdapter
include RepositoryMirroring
......@@ -530,7 +529,7 @@ class Repository
end
def rendered_readme
markup_unsafe(readme.name, readme.data, project: project) if readme
MarkupHelper.markup_unsafe(readme.name, readme.data, project: project) if readme
end
cache_method :rendered_readme
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment