summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorkendaru <soud@protonmail.com>2015-10-02 10:04:11 +0200
committerkendaru <soud@protonmail.com>2015-10-02 10:04:11 +0200
commit5c39d3fa7dfcb81bdaed222a73c8a7d3dd807e36 (patch)
treea1998d60ea8b59aad6ac6710d2103bddb3675ed8 /cmd
parent87d64acc9f7de985603093980c8dc3fa651047a1 (diff)
downloadgitea-5c39d3fa7dfcb81bdaed222a73c8a7d3dd807e36.tar.gz
gitea-5c39d3fa7dfcb81bdaed222a73c8a7d3dd807e36.zip
changed integrated page number to GET
Diffstat (limited to 'cmd')
-rw-r--r--cmd/web.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 126a86a35f..9881a76cc5 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -514,8 +514,8 @@ func runWeb(ctx *cli.Context) {
m.Get("/labels/", repo.RetrieveLabels, repo.Labels)
m.Get("/milestones", repo.Milestones)
m.Get("/branches", repo.Branches)
- m.Get("/stars/?:index", middleware.RepoRef(), repo.Stars)
- m.Get("/watchers/?:index", middleware.RepoRef(), repo.Watchers)
+ m.Get("/stars", middleware.RepoRef(), repo.Stars)
+ m.Get("/watchers", middleware.RepoRef(), repo.Watchers)
m.Get("/forks", middleware.RepoRef(), repo.Forks)
m.Get("/archive/*", repo.Download)