1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00
This commit is contained in:
slene
2014-03-25 00:42:57 +08:00
parent 79633ab1fb
commit 123c7b44e8
2 changed files with 15 additions and 8 deletions

View File

@@ -156,6 +156,7 @@ func Single(ctx *middleware.Context, params martini.Params) {
}
if readmeFile != nil {
ctx.Data["ReadmeInSingle"] = true
ctx.Data["ReadmeExist"] = true
if blob, err := readmeFile.LookupBlob(); err != nil {
ctx.Handle(404, "repo.Single(readmeFile.LookupBlob)", err)