diff options
author | Brett Walker <bwalker@gitlab.com> | 2018-09-02 10:24:27 -0500 |
---|---|---|
committer | Brett Walker <bwalker@gitlab.com> | 2018-09-05 09:19:16 -0500 |
commit | a963721f797b451efec15702e73752c8b8830631 (patch) | |
tree | 46b920a9b5fd0078d5cfdcdecb8e5c16be852f21 /app/views/projects/blob/edit.html.haml | |
parent | e41b99943230240403bdca7b19d5f379892cd819 (diff) | |
download | gitlab-ce-a963721f797b451efec15702e73752c8b8830631.tar.gz |
render using RedCarpet if legacy_render parameter is set
Diffstat (limited to 'app/views/projects/blob/edit.html.haml')
-rw-r--r-- | app/views/projects/blob/edit.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/edit.html.haml b/app/views/projects/blob/edit.html.haml index 27cf040da7c..fdab8a53b41 100644 --- a/app/views/projects/blob/edit.html.haml +++ b/app/views/projects/blob/edit.html.haml @@ -21,7 +21,7 @@ Write %li - = link_to '#preview', 'data-preview-url' => project_preview_blob_path(@project, @id) do + = link_to '#preview', 'data-preview-url' => project_preview_blob_path(@project, @id, legacy_render: params[:legacy_render]) do = editing_preview_title(@blob.name) = form_tag(project_update_blob_path(@project, @id), method: :put, class: 'js-quick-submit js-requires-input js-edit-blob-form', data: blob_editor_paths) do |