Commit 2c8d3c33 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fixed ref switcher

parent beb324c1
...@@ -60,8 +60,8 @@ module ApplicationHelper ...@@ -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 -
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment