fix default branch

This commit is contained in:
Dmitriy Zaporozhets 2011-12-12 23:17:28 +02:00 committed by Jeremy Mack
parent 4c3a61a760
commit 3a14432879
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)