Commit e42fb4fd authored by Christos Trochalakis's avatar Christos Trochalakis

Fix broken commit link in branches page

parent 81092c01
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
- if branch.name == @project.root_ref - if branch.name == @project.root_ref
%span.label default %span.label default
%td %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] %code= branch.commit.id.to_s[0..10]
= image_tag gravatar_icon(Commit.new(branch.commit).author_email), :class => "", :width => 16 = image_tag gravatar_icon(Commit.new(branch.commit).author_email), :class => "", :width => 16
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment