index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
routers
/
repo
/
setting.go
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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 9e6ae8d4..507984e5 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