Commit 29e11d14 authored by gitlabhq's avatar gitlabhq

link to file for commit diff

parent 35d24b39
...@@ -31,7 +31,8 @@ ...@@ -31,7 +31,8 @@
- if diff.deleted_file - if diff.deleted_file
%strong{:id => "#{diff.b_path}"}= diff.a_path %strong{:id => "#{diff.b_path}"}= diff.a_path
- else - else
%strong{:id => "#{diff.b_path}"}= diff.b_path = link_to tree_file_project_path(@project, @commit.id, diff.b_path) do
%strong{:id => "#{diff.b_path}"}= diff.b_path
%br/ %br/
.diff_file_content .diff_file_content
- if file.text? - if file.text?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment