fix branch/tag select

This commit is contained in:
gitlabhq 2011-11-16 12:19:18 -05:00
parent f0b86c5f1e
commit bb35ef2f60
7 changed files with 29 additions and 6 deletions

View file

@ -46,7 +46,7 @@ module ApplicationHelper
"Never"
end
def grouped_options_refs
def grouped_options_refs(destination = :tree)
options = [
["Branch", @repo.heads.map(&:name) ],
[ "Tag", @project.tags ]