summaryrefslogtreecommitdiff
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorgitlabhq <m@gitlabhq.com>2011-11-16 12:19:18 -0500
committergitlabhq <m@gitlabhq.com>2011-11-16 12:19:18 -0500
commitbb35ef2f6063c04be8cb0e655049fec7a60f260a (patch)
tree73dffd1138e2ee7643b69183b1a619676d717dcd /app/helpers/application_helper.rb
parentf0b86c5f1e3f59ceafc684478c7b67bb1e6886f4 (diff)
downloadgitlab-ce-bb35ef2f6063c04be8cb0e655049fec7a60f260a.tar.gz
fix branch/tag select
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 530709ea180..4706708304c 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -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 ]