diff options
author | kendaru <soud@protonmail.com> | 2015-10-02 10:04:11 +0200 |
---|---|---|
committer | kendaru <soud@protonmail.com> | 2015-10-02 10:04:11 +0200 |
commit | 5c39d3fa7dfcb81bdaed222a73c8a7d3dd807e36 (patch) | |
tree | a1998d60ea8b59aad6ac6710d2103bddb3675ed8 /cmd | |
parent | 87d64acc9f7de985603093980c8dc3fa651047a1 (diff) | |
download | gitea-5c39d3fa7dfcb81bdaed222a73c8a7d3dd807e36.tar.gz gitea-5c39d3fa7dfcb81bdaed222a73c8a7d3dd807e36.zip |
changed integrated page number to GET
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 4 |
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) |