Commit b44138ae4030bb5b63af4f4d835ddceb06c1b953

Authored by Dmitriy Zaporozhets
1 parent a5e16243

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 - commit = @repository.commit(branch.target) 1 - commit = @repository.commit(branch.target)
2 %li 2 %li
3 %h4 3 %h4
4 - = link_to project_commits_path(@project, branch.name) do 4 + = link_to project_tree_path(@project, branch.name) do
5 %strong= truncate(branch.name, length: 60) 5 %strong= truncate(branch.name, length: 60)
6 - if branch.name == @repository.root_ref 6 - if branch.name == @repository.root_ref
7 %span.label.label-info default 7 %span.label.label-info default