Mirror updates

This commit is contained in:
Unknown 2014-04-19 06:00:08 -04:00
parent b32e223db5
commit eda3f8b3b3
7 changed files with 34 additions and 22 deletions

View file

@ -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)