Commit 29e11d1461a5689ff295adb035e38564701ad377

Authored by gitlabhq
1 parent 35d24b39

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 31 - if diff.deleted_file
32 32 %strong{:id => "#{diff.b_path}"}= diff.a_path
33 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 36 %br/
36 37 .diff_file_content
37 38 - if file.text?
... ...