summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-03 14:31:31 -0500
committerUnknwon <u@gogs.io>2015-12-03 14:31:31 -0500
commit5742f9fe69107858a622b77f33c11c77f8d69d92 (patch)
tree5265d1be98d721a43b03b8e5a1fe78ccf5e1e645 /cmd
parent1802d52362f4d52a1c63168228da17d0810ed56f (diff)
downloadgitea-5742f9fe69107858a622b77f33c11c77f8d69d92.tar.gz
gitea-5742f9fe69107858a622b77f33c11c77f8d69d92.zip
fix #2095
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 899b733297..808b03ecde 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -539,10 +539,10 @@ func runWeb(ctx *cli.Context) {
m.Group("", func() {
m.Get("/releases", repo.Releases)
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("/milestones", repo.Milestones)
}, middleware.RepoRef())
- m.Get("/^:type(issues|pulls)$/:index", repo.ViewIssue)
// m.Get("/branches", repo.Branches)