Commit 29e11d1461a5689ff295adb035e38564701ad377
1 parent
35d24b39
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? |