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