Browse Source

fix-1358

tags/v1.22.7.2^2
ychao_1983 3 years ago
parent
commit
da9137d638
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/routes/routes.go

+ 1
- 1
routers/routes/routes.go View File

@@ -1136,7 +1136,7 @@ func RegisterRoutes(m *macaron.Macaron) {
}) })
}, context.RepoRef()) }, context.RepoRef())
m.Group("/modelmanage", func() { m.Group("/modelmanage", func() {
m.Post("/create_model", reqRepoModelManageWriter, repo.SaveModel)
m.Post("/create_model", repo.SaveModel)
m.Post("/create_model_convert", reqRepoModelManageWriter, repo.SaveModelConvert) m.Post("/create_model_convert", reqRepoModelManageWriter, repo.SaveModelConvert)
m.Post("/create_new_model", repo.SaveNewNameModel) m.Post("/create_new_model", repo.SaveNewNameModel)
m.Delete("/delete_model", repo.DeleteModel) m.Delete("/delete_model", repo.DeleteModel)


Loading…
Cancel
Save