1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

implemented #1721: see users who forked/starred/watched a repository

This commit is contained in:
Steven
2015-10-01 15:17:27 +02:00
parent e0a099ec11
commit c8aa9c6cb1
10 changed files with 476 additions and 0 deletions

View File

@@ -514,6 +514,9 @@ 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("/forks", middleware.RepoRef(), repo.Forks)
m.Get("/archive/*", repo.Download)
m.Group("/pulls/:index", func() {