fix default branch

This commit is contained in:
Dmitriy Zaporozhets 2011-12-12 23:17:28 +02:00
parent 04a908f6a5
commit 8426846d6d
3 changed files with 2 additions and 4 deletions

View file

@ -53,7 +53,7 @@ module ApplicationHelper
[ "Tag", @project.tags ]
]
grouped_options_for_select(options, @ref)
grouped_options_for_select(options, @ref || @project.default_branch)
end
def markdown(text)