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