summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index d89504e99e..aa814bed81 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -528,6 +528,11 @@ func runWeb(ctx *cli.Context) {
m.Get("/archive/*", repo.Download)
m.Get("/pulls2/", repo.PullRequest2)
+ m.Group("/pulls/:index", func() {
+ m.Get("/commits", repo.ViewPullCommits)
+ m.Get("/files", repo.ViewPullFiles)
+ })
+
m.Group("", func() {
m.Get("/src/*", repo.Home)
m.Get("/raw/*", repo.SingleDownload)