[refs #90] fixed ref link

This commit is contained in:
Alexander Machehin 2012-07-18 17:17:15 +06:00
parent b7911f3585
commit 28329bbe5b
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ module PullRequestHelper
end
def ref_path project, ref
return tree_path(project, ref) if project.branches_and_tags.include? ref
return tree_path(project, ref) if project.branches_and_tags.map(&:name).include? ref
return commit_path(project, ref) if project.git_repository.commit ref
'#'
end