diff options
Diffstat (limited to 'routers/routes')
-rw-r--r-- | routers/routes/routes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/routes.go b/routers/routes/routes.go index 250b98507e..1eefbf1b60 100644 --- a/routers/routes/routes.go +++ b/routers/routes/routes.go @@ -626,7 +626,7 @@ func RegisterRoutes(m *macaron.Macaron) { }, context.RepoAssignment(), context.UnitTypes(), context.LoadRepoUnits(), context.CheckUnit(models.UnitTypeReleases)) m.Group("/:username/:reponame", func() { - m.Post("/topics", repo.TopicPost) + m.Post("/topics", repo.TopicsPost) }, context.RepoAssignment(), reqRepoAdmin) m.Group("/:username/:reponame", func() { |