mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 07:43:18 -05:00
fix #2095
This commit is contained in:
parent
1802d52362
commit
5742f9fe69
1 changed files with 1 additions and 1 deletions
|
@ -539,10 +539,10 @@ func runWeb(ctx *cli.Context) {
|
||||||
m.Group("", func() {
|
m.Group("", func() {
|
||||||
m.Get("/releases", repo.Releases)
|
m.Get("/releases", repo.Releases)
|
||||||
m.Get("/^:type(issues|pulls)$", repo.RetrieveLabels, repo.Issues)
|
m.Get("/^:type(issues|pulls)$", repo.RetrieveLabels, repo.Issues)
|
||||||
|
m.Get("/^:type(issues|pulls)$/:index", repo.ViewIssue)
|
||||||
m.Get("/labels/", repo.RetrieveLabels, repo.Labels)
|
m.Get("/labels/", repo.RetrieveLabels, repo.Labels)
|
||||||
m.Get("/milestones", repo.Milestones)
|
m.Get("/milestones", repo.Milestones)
|
||||||
}, middleware.RepoRef())
|
}, middleware.RepoRef())
|
||||||
m.Get("/^:type(issues|pulls)$/:index", repo.ViewIssue)
|
|
||||||
|
|
||||||
// m.Get("/branches", repo.Branches)
|
// m.Get("/branches", repo.Branches)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue