Fix broken commit link in branches page

This commit is contained in:
Christos Trochalakis 2012-02-24 17:27:44 +02:00
parent 81092c0198
commit e42fb4fda4

View file

@ -5,7 +5,7 @@
- if branch.name == @project.root_ref
%span.label default
%td
= link_to project_commits_path(@project, branch.commit.id) do
= link_to project_commit_path(@project, branch.commit.id) do
%code= branch.commit.id.to_s[0..10]
= image_tag gravatar_icon(Commit.new(branch.commit).author_email), :class => "", :width => 16