1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

Merge branch 'access' of github.com:gogits/gogs into access

This commit is contained in:
Unknwon
2015-02-22 22:55:35 -05:00
14 changed files with 164 additions and 139 deletions

View File

@@ -12,7 +12,7 @@ import (
)
func GetRepoRawFile(ctx *middleware.Context) {
if ctx.Repo.Repository.IsPrivate && !ctx.Repo.HasAccess {
if !ctx.Repo.HasAccess() {
ctx.Error(404)
return
}