aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-30 18:47:32 -0500
committerUnknwon <u@gogs.io>2015-12-30 18:47:32 -0500
commit8d58e06ad850bc4e01371d286e8923c55b5b2d1a (patch)
tree5e99a8dd98574647ec98a5814d1a0c6871bdd881 /routers
parentb8fbf6559dba348b85b70810947b67802d26fb76 (diff)
downloadgitea-8d58e06ad850bc4e01371d286e8923c55b5b2d1a.tar.gz
gitea-8d58e06ad850bc4e01371d286e8923c55b5b2d1a.zip
more fix on #2268
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/setting.go2
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