|
@@ -255,7 +255,7 @@ func Contexter() macaron.Handler {
|
|
|
</body>
|
|
|
</html>
|
|
|
`, map[string]string{
|
|
|
- "GoGetImport": path.Join(setting.Domain, setting.AppSubURL, c.Link),
|
|
|
+ "GoGetImport": path.Join(setting.Domain, setting.AppSubURL, repo.FullName()),
|
|
|
"CloneLink": models.ComposeHTTPSCloneURL(ownerName, repoName),
|
|
|
"GoDocDirectory": prefix + "{/dir}",
|
|
|
"GoDocFile": prefix + "{/dir}/{file}#L{line}",
|