summaryrefslogtreecommitdiff
path: root/app/views/commits
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-17 13:49:57 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-26 16:32:22 -0400
commit576cec6c67dcc4ee00b8220ca1a45385583e25b2 (patch)
tree3fc61345a7a2ec716dbed39fd4916a8f2d3f9dc4 /app/views/commits
parent39c657930625ddc3ac8a921f01ffc83acadce68f (diff)
downloadgitlab-ce-576cec6c67dcc4ee00b8220ca1a45385583e25b2.tar.gz
Add BlobController, remove Refs#blob
Diffstat (limited to 'app/views/commits')
-rw-r--r--app/views/commits/_diffs.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/commits/_diffs.html.haml b/app/views/commits/_diffs.html.haml
index bc53911cb7c..301cd554b42 100644
--- a/app/views/commits/_diffs.html.haml
+++ b/app/views/commits/_diffs.html.haml
@@ -24,7 +24,7 @@
%i.icon-file
%span{id: "#{diff.old_path}"}= diff.old_path
- else
- = link_to project_tree_path(@project, @commit, diff.new_path) do
+ = link_to project_tree_path(@project, tree_join(@commit.id, diff.new_path)) do
%i.icon-file
%span{id: "#{diff.new_path}"}= diff.new_path
%br/