Fixed ref switcher
This commit is contained in:
parent
beb324c1c6
commit
2c8d3c33ff
|
@ -60,8 +60,8 @@ module ApplicationHelper
|
|||
|
||||
def grouped_options_refs(destination = :tree)
|
||||
options = [
|
||||
["Branch", @project.repo.heads.map(&:name) ],
|
||||
[ "Tag", @project.tags ]
|
||||
["Branch", @project.branch_names ],
|
||||
[ "Tag", @project.tag_names ]
|
||||
]
|
||||
|
||||
# If reference is commit id -
|
||||
|
|
Loading…
Reference in a new issue