finish PR UI
This commit is contained in:
parent
65e73c4ac6
commit
37e0cee877
16 changed files with 302 additions and 111 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue