diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-08 22:13:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-08 22:13:48 +0800 |
commit | c5887b0f28d6915e843f9ca69c42e90577122f99 (patch) | |
tree | 47f9cd3b34048082123c4c90e30bda6f4022c965 /cmd/web.go | |
parent | a195c3fabeed4136b326ab641460fc30d6feaf01 (diff) | |
download | gitea-c5887b0f28d6915e843f9ca69c42e90577122f99.tar.gz gitea-c5887b0f28d6915e843f9ca69c42e90577122f99.zip |
fix watchers templates breaks (#870)
Diffstat (limited to 'cmd/web.go')
-rw-r--r-- | cmd/web.go | 2 |
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() { |