Browse Source

fix watchers templates breaks (#870)

tags/v1.1.0
Lunny Xiao 8 years ago committed by GitHub
parent
commit
c5887b0f28
  1. 2
      cmd/web.go

2
cmd/web.go

@ -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() {

Loading…
Cancel
Save