diff options
author | Unknwon <u@gogs.io> | 2015-12-30 18:47:32 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-30 18:47:32 -0500 |
commit | 8d58e06ad850bc4e01371d286e8923c55b5b2d1a (patch) | |
tree | 5e99a8dd98574647ec98a5814d1a0c6871bdd881 /routers | |
parent | b8fbf6559dba348b85b70810947b67802d26fb76 (diff) | |
download | gitea-8d58e06ad850bc4e01371d286e8923c55b5b2d1a.tar.gz gitea-8d58e06ad850bc4e01371d286e8923c55b5b2d1a.zip |
more fix on #2268
Diffstat (limited to 'routers')
-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 9e6ae8d412..507984e56d 100644 --- a/routers/repo/setting.go +++ b/routers/repo/setting.go @@ -121,7 +121,7 @@ func SettingsPost(ctx *middleware.Context, form auth.RepoSettingForm) { } ctx.Flash.Success(ctx.Tr("repo.settings.update_settings_success")) - ctx.Redirect(ctx.Repo.RepoLink + "/settings") + ctx.Redirect(repo.RepoLink() + "/settings") case "advanced": repo.EnableWiki = form.EnableWiki |