diff options
author | Lauris BH <lauris@nix.lv> | 2019-01-23 06:10:38 +0200 |
---|---|---|
committer | techknowlogick <matti@mdranta.net> | 2019-01-22 23:10:38 -0500 |
commit | 075649572d4472b588a8484ce3d7c37df7621f85 (patch) | |
tree | 5658dfda46b32c0686895615bceffbdac01ef4a3 /routers/routes | |
parent | 6a949af8ca3aaa30f917c8ed792ae88bbaafdd75 (diff) | |
download | gitea-075649572d4472b588a8484ce3d7c37df7621f85.tar.gz gitea-075649572d4472b588a8484ce3d7c37df7621f85.zip |
Add the ability to use multiple labels as filters(#5786)
Diffstat (limited to 'routers/routes')
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index afbb31d780..a3bf3f753a 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -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) |