diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-08 00:58:25 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-14 17:25:37 +0300 |
commit | c1dd08e17bd1010e48b8f12e663a7c859b698b7b (patch) | |
tree | cd8fe78aee2fce8e79e60a7c2e1fd2e90ad061d8 /app/views/projects/diffs/_file.html.haml | |
parent | bf8e174f0ae21b320c17b5a8f8d45aefcfef9520 (diff) |
fixed commit diff linking and added specs
Diffstat (limited to 'app/views/projects/diffs/_file.html.haml')
-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 15df2edefc7..c37a33bbcd5 100644 --- a/app/views/projects/diffs/_file.html.haml +++ b/app/views/projects/diffs/_file.html.haml @@ -1,5 +1,5 @@ .diff-file.file-holder{ id: file_hash, data: diff_file_html_data(project, diff_file.file_path, diff_commit.id) } - .file-title{ id: "file-path-#{hexdigest(diff_file.file_path)}" } + .file-title = render "projects/diffs/file_header", diff_file: diff_file, blob: blob, diff_commit: diff_commit, project: project, url: "##{file_hash}" - unless diff_file.submodule? |