diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-19 06:00:08 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-19 06:00:08 -0400 |
commit | eda3f8b3b34f15d29bb2e6f1346e15616f508501 (patch) | |
tree | 6c041b6c0450a3e0c3dcd245a8489311fdf2aaa4 /routers/repo/repo.go | |
parent | b32e223db56b270d4dd45aed0c9fd5dd54d0f5f8 (diff) | |
download | gitea-eda3f8b3b34f15d29bb2e6f1346e15616f508501.tar.gz gitea-eda3f8b3b34f15d29bb2e6f1346e15616f508501.zip |
Mirror updates
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r-- | routers/repo/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 6422f0a324..f733378b3f 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -340,6 +340,7 @@ func SettingPost(ctx *middleware.Context) { } ctx.Repo.Repository.Description = ctx.Query("desc") ctx.Repo.Repository.Website = ctx.Query("site") + ctx.Repo.Repository.IsPrivate = ctx.Query("private") == "on" ctx.Repo.Repository.IsGoget = ctx.Query("goget") == "on" if err := models.UpdateRepository(ctx.Repo.Repository); err != nil { ctx.Handle(404, "repo.SettingPost(update)", err) |