aboutsummaryrefslogtreecommitdiffstats
path: root/modules/middleware/context.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-19 23:48:30 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-19 23:48:30 -0400
commitee92fb8635cf9f80453386f2dc4f8b3cd7e9a17e (patch)
tree05364a3705685f934b09ab80108a3b8e443f047f /modules/middleware/context.go
parent59ea3c0413723521e7504fa5b1be2c3780cbb2ea (diff)
downloadgitea-ee92fb8635cf9f80453386f2dc4f8b3cd7e9a17e.tar.gz
gitea-ee92fb8635cf9f80453386f2dc4f8b3cd7e9a17e.zip
Finish watch backend
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r--modules/middleware/context.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go
index c97c3299c4..dfa39c6f86 100644
--- a/modules/middleware/context.go
+++ b/modules/middleware/context.go
@@ -31,6 +31,7 @@ type Context struct {
Repo struct {
IsValid bool
IsOwner bool
+ IsWatching bool
Repository *models.Repository
Owner *models.User
}