1
0
Fork 0
forked from forgejo/forgejo

Add the ability to use multiple labels as filters(#5786)

This commit is contained in:
Lauris BH 2019-01-23 06:10:38 +02:00 committed by techknowlogick
parent 6a949af8ca
commit 075649572d
9 changed files with 74 additions and 24 deletions

View file

@ -656,7 +656,7 @@ func RegisterRoutes(m *macaron.Macaron) {
m.Group("/:username/:reponame", func() {
m.Group("", func() {
m.Get("/^:type(issues|pulls)$", repo.RetrieveLabels, repo.Issues)
m.Get("/^:type(issues|pulls)$", repo.Issues)
m.Get("/^:type(issues|pulls)$/:index", repo.ViewIssue)
m.Get("/labels/", reqRepoIssuesOrPullsReader, repo.RetrieveLabels, repo.Labels)
m.Get("/milestones", reqRepoIssuesOrPullsReader, repo.Milestones)