summaryrefslogtreecommitdiffstats
path: root/routers/repo/repo.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-19 06:00:08 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-19 06:00:08 -0400
commiteda3f8b3b34f15d29bb2e6f1346e15616f508501 (patch)
tree6c041b6c0450a3e0c3dcd245a8489311fdf2aaa4 /routers/repo/repo.go
parentb32e223db56b270d4dd45aed0c9fd5dd54d0f5f8 (diff)
downloadgitea-eda3f8b3b34f15d29bb2e6f1346e15616f508501.tar.gz
gitea-eda3f8b3b34f15d29bb2e6f1346e15616f508501.zip
Mirror updates
Diffstat (limited to 'routers/repo/repo.go')
-rw-r--r--routers/repo/repo.go1
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)