diff options
author | James Lopez <james@jameslopez.es> | 2018-02-15 08:53:09 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-02-23 14:02:39 +0100 |
commit | bee837d7b5025a2e170dc0c857b188b4d89c014f (patch) | |
tree | 0bc6edab20604576ea65410806a2eb57d4d43616 /app/views/projects/diffs | |
parent | f13609663912e940e860b8f7b5e8aa98c99800e9 (diff) | |
download | gitlab-ce-bee837d7b5025a2e170dc0c857b188b4d89c014f.tar.gz |
some initial refactoring
Diffstat (limited to 'app/views/projects/diffs')
-rw-r--r-- | app/views/projects/diffs/_file.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_file.html.haml b/app/views/projects/diffs/_file.html.haml index 0b01e38d23d..3e6001e6f30 100644 --- a/app/views/projects/diffs/_file.html.haml +++ b/app/views/projects/diffs/_file.html.haml @@ -17,7 +17,7 @@ \ - if editable_diff?(diff_file) - link_opts = @merge_request.persisted? ? { from_merge_request_iid: @merge_request.iid } : {} - = edit_blob_link(@merge_request.source_project, @merge_request.source_branch, diff_file.new_path, + = edit_blob_element(@merge_request.source_project, @merge_request.source_branch, diff_file.new_path, blob: blob, link_opts: link_opts) - if image_diff && image_replaced |