Commit b44138ae4030bb5b63af4f4d835ddceb06c1b953
1 parent
a5e16243
Exists in
spb-stable
and in
2 other branches
Branch link on branches page goes to tree view instead of commits
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/views/projects/branches/_branch.html.haml
1 | 1 | - commit = @repository.commit(branch.target) |
2 | 2 | %li |
3 | 3 | %h4 |
4 | - = link_to project_commits_path(@project, branch.name) do | |
4 | + = link_to project_tree_path(@project, branch.name) do | |
5 | 5 | %strong= truncate(branch.name, length: 60) |
6 | 6 | - if branch.name == @repository.root_ref |
7 | 7 | %span.label.label-info default | ... | ... |