Commit 2c8d3c33ff64ac6af5daf125a2f9ef917e55bcfc
1 parent
beb324c1
Exists in
master
and in
4 other branches
Fixed ref switcher
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -60,8 +60,8 @@ module ApplicationHelper |
60 | 60 | |
61 | 61 | def grouped_options_refs(destination = :tree) |
62 | 62 | options = [ |
63 | - ["Branch", @project.repo.heads.map(&:name) ], | |
64 | - [ "Tag", @project.tags ] | |
63 | + ["Branch", @project.branch_names ], | |
64 | + [ "Tag", @project.tag_names ] | |
65 | 65 | ] |
66 | 66 | |
67 | 67 | # If reference is commit id - | ... | ... |