0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-12 04:51:38 +01:00

fix watchers templates breaks (#870)

This commit is contained in:
Lunny Xiao 2017-02-08 22:13:48 +08:00 committed by GitHub
parent a195c3fabe
commit c5887b0f28

View file

@ -586,7 +586,7 @@ func runWeb(ctx *cli.Context) error {
m.Group("/:username/:reponame", func() { m.Group("/:username/:reponame", func() {
m.Get("/stars", repo.Stars) m.Get("/stars", repo.Stars)
m.Get("/watchers", repo.Watchers) m.Get("/watchers", repo.Watchers)
}, ignSignIn, context.RepoAssignment(), context.RepoRef()) }, ignSignIn, context.RepoAssignment(), context.RepoRef(), context.UnitTypes())
m.Group("/:username", func() { m.Group("/:username", func() {
m.Group("/:reponame", func() { m.Group("/:reponame", func() {