Skip to content
Snippets Groups Projects
Commit 35fd7e6c authored by Toon Claes's avatar Toon Claes
Browse files

Avoid including the MarkupHelper

parent 66c8756e
No related branches found
No related tags found
1 merge request!8838Remove view fragment caching for project READMEs
Loading
Loading
@@ -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
 
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment