Fixed ref switcher

This commit is contained in:
Dmitriy Zaporozhets 2012-09-27 09:53:42 +03:00
parent beb324c1c6
commit 2c8d3c33ff

View file

@ -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 -