Browse Source

fix #2095

pull/1234/merge
Unknwon 9 years ago
parent
commit
5742f9fe69
  1. 2
      cmd/web.go

2
cmd/web.go

@ -539,10 +539,10 @@ func runWeb(ctx *cli.Context) {
m.Group("", func() {
m.Get("/releases", repo.Releases)
m.Get("/^:type(issues|pulls)$", repo.RetrieveLabels, repo.Issues)
m.Get("/^:type(issues|pulls)$/:index", repo.ViewIssue)
m.Get("/labels/", repo.RetrieveLabels, repo.Labels)
m.Get("/milestones", repo.Milestones)
}, middleware.RepoRef())
m.Get("/^:type(issues|pulls)$/:index", repo.ViewIssue)
// m.Get("/branches", repo.Branches)

Loading…
Cancel
Save