diff options
author | Unknwon <u@gogs.io> | 2016-07-15 21:53:43 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-15 21:53:43 +0800 |
commit | 7ca5f8f119593023809e6130db75154597c52426 (patch) | |
tree | 00b618852ec93eaba8160832f68f99ffc91382e9 /routers/repo/setting.go | |
parent | 194a742fb922c20db0a70100e5f2aaadf03c2acf (diff) | |
download | gitea-7ca5f8f119593023809e6130db75154597c52426.tar.gz gitea-7ca5f8f119593023809e6130db75154597c52426.zip |
models/repo: remove redundant info for some repo methods
RepoLink -> Link, RepoRelLink -> RelLink, FullRepoLink -> FullLink
Diffstat (limited to 'routers/repo/setting.go')
-rw-r--r-- | routers/repo/setting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go index 14d2963656..6fd195aa10 100644 --- a/routers/repo/setting.go +++ b/routers/repo/setting.go @@ -122,7 +122,7 @@ func SettingsPost(ctx *context.Context, form auth.RepoSettingForm) { } ctx.Flash.Success(ctx.Tr("repo.settings.update_settings_success")) - ctx.Redirect(repo.RepoLink() + "/settings") + ctx.Redirect(repo.Link() + "/settings") case "advanced": repo.EnableWiki = form.EnableWiki |