Browse Source

#2251 show commits count in PR tabs

pull/2257/head
Unknwon 9 years ago
parent
commit
f00fef0cd0
  1. 4
      cmd/web.go

4
cmd/web.go

@ -492,8 +492,8 @@ func runWeb(ctx *cli.Context) {
m.Get("/archive/*", repo.Download) m.Get("/archive/*", repo.Download)
m.Group("/pulls/:index", func() { m.Group("/pulls/:index", func() {
m.Get("/commits", repo.ViewPullCommits) m.Get("/commits", middleware.RepoRef(), repo.ViewPullCommits)
m.Get("/files", repo.ViewPullFiles) m.Get("/files", middleware.RepoRef(), repo.ViewPullFiles)
m.Post("/merge", reqRepoAdmin, repo.MergePullRequest) m.Post("/merge", reqRepoAdmin, repo.MergePullRequest)
}, repo.MustEnablePulls) }, repo.MustEnablePulls)

Loading…
Cancel
Save