aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-15 21:53:43 +0800
committerUnknwon <u@gogs.io>2016-07-15 21:53:43 +0800
commit7ca5f8f119593023809e6130db75154597c52426 (patch)
tree00b618852ec93eaba8160832f68f99ffc91382e9 /modules
parent194a742fb922c20db0a70100e5f2aaadf03c2acf (diff)
downloadgitea-7ca5f8f119593023809e6130db75154597c52426.tar.gz
gitea-7ca5f8f119593023809e6130db75154597c52426.zip
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
Diffstat (limited to 'modules')
-rw-r--r--modules/context/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go
index a7ca17d3bc..f68576ff5d 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -174,7 +174,7 @@ func RepoAssignment(args ...bool) macaron.Handler {
return
}
ctx.Repo.GitRepo = gitRepo
- ctx.Repo.RepoLink = repo.RepoLink()
+ ctx.Repo.RepoLink = repo.Link()
ctx.Data["RepoLink"] = ctx.Repo.RepoLink
ctx.Data["RepoRelPath"] = ctx.Repo.Owner.Name + "/" + ctx.Repo.Repository.Name