diff options
author | Unknwon <u@gogs.io> | 2015-12-09 00:32:53 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-09 00:32:53 -0500 |
commit | a576224d0ea0a6a48207002229ae38937bd038a3 (patch) | |
tree | 479bb167651a1301ca71b7175078c1e1be1336c0 /modules/middleware/context.go | |
parent | 989f30eb416f2d8709aaff9c235d555f8b109e36 (diff) | |
download | gitea-a576224d0ea0a6a48207002229ae38937bd038a3.tar.gz gitea-a576224d0ea0a6a48207002229ae38937bd038a3.zip |
unified name: IsViewBranch, IsViewCommit and IsViewTag
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r-- | modules/middleware/context.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go index 7528e2a7a4..5784d756b2 100644 --- a/modules/middleware/context.go +++ b/modules/middleware/context.go @@ -29,9 +29,9 @@ import ( type RepoContext struct { AccessMode models.AccessMode IsWatching bool - IsBranch bool - IsTag bool - IsCommit bool + IsViewBranch bool + IsViewTag bool + IsViewCommit bool Repository *models.Repository Owner *models.User Commit *git.Commit |