diff --git a/routers/private/internal.go b/routers/private/internal.go index b029eedf9..5b1d63bff 100755 --- a/routers/private/internal.go +++ b/routers/private/internal.go @@ -44,5 +44,6 @@ func RegisterRoutes(m *macaron.Macaron) { m.Post("/manager/flush-queues", bind(private.FlushOptions{}), FlushQueues) m.Post("/tool/update_all_repo_commit_cnt", UpdateAllRepoCommitCnt) m.Post("/tool/repo_stat", RepoStatisticManually) + m.Post("/tool/create_model", CreateModel) }, CheckInternalToken) }