Commit 32f4dc7cf917d152d703e338219d1c718b97a003
1 parent
6d0175e1
Exists in
master
and in
4 other branches
link to file for commit diff
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/views/commits/_diff.html.haml
@@ -31,7 +31,8 @@ | @@ -31,7 +31,8 @@ | ||
31 | - if diff.deleted_file | 31 | - if diff.deleted_file |
32 | %strong{:id => "#{diff.b_path}"}= diff.a_path | 32 | %strong{:id => "#{diff.b_path}"}= diff.a_path |
33 | - else | 33 | - else |
34 | - %strong{:id => "#{diff.b_path}"}= diff.b_path | 34 | + = link_to tree_file_project_path(@project, @commit.id, diff.b_path) do |
35 | + %strong{:id => "#{diff.b_path}"}= diff.b_path | ||
35 | %br/ | 36 | %br/ |
36 | .diff_file_content | 37 | .diff_file_content |
37 | - if file.text? | 38 | - if file.text? |