summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-02-08 22:13:48 +0800
committerGitHub <noreply@github.com>2017-02-08 22:13:48 +0800
commitc5887b0f28d6915e843f9ca69c42e90577122f99 (patch)
tree47f9cd3b34048082123c4c90e30bda6f4022c965 /cmd/web.go
parenta195c3fabeed4136b326ab641460fc30d6feaf01 (diff)
downloadgitea-c5887b0f28d6915e843f9ca69c42e90577122f99.tar.gz
gitea-c5887b0f28d6915e843f9ca69c42e90577122f99.zip
fix watchers templates breaks (#870)
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index edf8ccafe1..4fa93ba4d8 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -586,7 +586,7 @@ func runWeb(ctx *cli.Context) error {
m.Group("/:username/:reponame", func() {
m.Get("/stars", repo.Stars)
m.Get("/watchers", repo.Watchers)
- }, ignSignIn, context.RepoAssignment(), context.RepoRef())
+ }, ignSignIn, context.RepoAssignment(), context.RepoRef(), context.UnitTypes())
m.Group("/:username", func() {
m.Group("/:reponame", func() {