1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Merge branch 'master' of github.com:gogits/gogs

This commit is contained in:
Unknown
2014-03-17 04:33:59 -04:00
20 changed files with 124 additions and 116 deletions

View File

@@ -78,7 +78,8 @@ func Single(ctx *middleware.Context, params martini.Params) {
}
func Setting(ctx *middleware.Context, params martini.Params) {
if !ctx.Repo.IsValid {
if !ctx.Repo.IsOwner {
ctx.Render.Error(404)
return
}