diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/_readme.html.haml | 3 | ||||
-rw-r--r-- | app/views/projects/tree/_readme.html.haml | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/_readme.html.haml b/app/views/projects/_readme.html.haml index b6fb08b68e9..b4615e084e0 100644 --- a/app/views/projects/_readme.html.haml +++ b/app/views/projects/_readme.html.haml @@ -4,8 +4,7 @@ - if can?(current_user, :push_code, @project) = link_to icon('pencil'), namespace_project_edit_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)), class: 'light edit-project-readme' .file-content.wiki - = cache(readme_cache_key) do - = render_readme(readme) + = markup_postprocess(@repository.rendered_readme) - else .row-content-block.second-block.center %h3.page-title diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml index bdcc160a067..30df6fd50d0 100644 --- a/app/views/projects/tree/_readme.html.haml +++ b/app/views/projects/tree/_readme.html.haml @@ -5,4 +5,4 @@ %strong = readme.name .file-content.wiki - = render_readme(readme) + = render_markup(readme.name, readme.data) |