summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-02 04:08:05 -0400
committerUnknwon <u@gogs.io>2015-09-02 04:08:05 -0400
commit37e0cee8770fc4f14857e16eabe83ab7e93a0646 (patch)
tree2eacd8816cb783f208b2afd061d6162cfeafca0e /cmd
parent65e73c4ac63b4d8cb5cd1ec6077fa6085e46895c (diff)
downloadgitea-37e0cee8770fc4f14857e16eabe83ab7e93a0646.tar.gz
gitea-37e0cee8770fc4f14857e16eabe83ab7e93a0646.zip
finish PR UI
Diffstat (limited to 'cmd')
-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)