Fix external commit links

Display the '@' character for links to commits in other projects.
This commit is contained in:
Vinnie Okada
2014-10-05 10:16:12 -05:00
parent bcf88c8559
commit a9cd3bfaee
+1
View File
@@ -245,6 +245,7 @@ module Gitlab
title: commit.link_title,
class: "gfm gfm-commit #{html_options[:class]}"
)
prefix_text = "#{prefix_text}@" if prefix_text
link_to(
"#{prefix_text}#{identifier}",
project_commit_url(project, commit),