diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-21 10:17:19 -0500 |
---|---|---|
committer | Toon Claes <toon@gitlab.com> | 2017-04-27 13:22:17 +0200 |
commit | 4f2d6b3e21911ab29ae18dff1be909d94f3127ed (patch) | |
tree | ea7186401f4b0fa02970c55f788b1dabeb2a247a /app/views/projects/_readme.html.haml | |
parent | 05e0f504530a162d4bcb886adf504c12cffd5934 (diff) | |
download | gitlab-ce-4f2d6b3e21911ab29ae18dff1be909d94f3127ed.tar.gz |
Refactor MarkupHelper
Diffstat (limited to 'app/views/projects/_readme.html.haml')
-rw-r--r-- | app/views/projects/_readme.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_readme.html.haml b/app/views/projects/_readme.html.haml index b4615e084e0..c0d12cbc66e 100644 --- a/app/views/projects/_readme.html.haml +++ b/app/views/projects/_readme.html.haml @@ -4,7 +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 - = markup_postprocess(@repository.rendered_readme) + = markup(readme.name, readme.data, rendered: @repository.rendered_readme) - else .row-content-block.second-block.center %h3.page-title |