Commit b44138ae authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Branch link on branches page goes to tree view instead of commits

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent a5e16243
- commit = @repository.commit(branch.target) - commit = @repository.commit(branch.target)
%li %li
%h4 %h4
= link_to project_commits_path(@project, branch.name) do = link_to project_tree_path(@project, branch.name) do
%strong= truncate(branch.name, length: 60) %strong= truncate(branch.name, length: 60)
- if branch.name == @repository.root_ref - if branch.name == @repository.root_ref
%span.label.label-info default %span.label.label-info default
......
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