From eda3f8b3b34f15d29bb2e6f1346e15616f508501 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 19 Apr 2014 06:00:08 -0400 Subject: Mirror updates --- routers/repo/repo.go | 1 + 1 file changed, 1 insertion(+) (limited to 'routers') 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) -- cgit v1.2.3