mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 05:27:20 +00:00
Fix topics saving internal error and disable for archived repos (#5821)
This commit is contained in:
@ -652,7 +652,7 @@ func RegisterRoutes(m *macaron.Macaron) {
|
||||
|
||||
m.Group("/:username/:reponame", func() {
|
||||
m.Post("/topics", repo.TopicsPost)
|
||||
}, context.RepoMustNotBeArchived(), context.RepoAssignment(), reqRepoAdmin)
|
||||
}, context.RepoAssignment(), context.RepoMustNotBeArchived(), reqRepoAdmin)
|
||||
|
||||
m.Group("/:username/:reponame", func() {
|
||||
m.Group("", func() {
|
||||
|
Reference in New Issue
Block a user