diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-09-27 09:53:42 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2012-09-27 09:53:42 +0300 |
commit | 2c8d3c33ff64ac6af5daf125a2f9ef917e55bcfc (patch) | |
tree | ee7eb18b8e59074bc56ea06fd30ae241beed4a2f | |
parent | beb324c1c6518f4ad20039b4122ef6d59ba430c2 (diff) | |
download | gitlab-ce-2c8d3c33ff64ac6af5daf125a2f9ef917e55bcfc.tar.gz |
Fixed ref switcher
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 185e7d84149..911b46c9a30 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 - |