[refs #90] fixed ref link
This commit is contained in:
parent
b7911f3585
commit
28329bbe5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue