parent
1ef74004a2
commit
737c947287
4 changed files with 22 additions and 4 deletions
|
@ -1274,6 +1274,8 @@ func Routes() *web.Route {
|
|||
m.Group("/{ref}", func() {
|
||||
m.Get("/status", repo.GetCombinedCommitStatusByRef)
|
||||
m.Get("/statuses", repo.GetCommitStatusesByRef)
|
||||
}, context.ReferencesGitRepo())
|
||||
m.Group("/{sha}", func() {
|
||||
m.Get("/pull", repo.GetCommitPullRequest)
|
||||
}, context.ReferencesGitRepo())
|
||||
}, reqRepoReader(unit.TypeCode))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue