1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-07-24 20:19:39 +02:00
This commit is contained in:
slene 2014-03-30 17:09:19 +08:00
parent 4c70249f75
commit b1627672f9
2 changed files with 4 additions and 1 deletions

View file

@ -140,6 +140,9 @@ func RepoAssignment(redirect bool, args ...bool) martini.Handler {
branchName = "master"
goto detect
}
ctx.Data["IsBranch"] = ctx.Repo.IsBranch
ctx.Data["IsCommit"] = ctx.Repo.IsCommit
}
// repo is bare and display enable