Skip to content
Snippets Groups Projects
Commit 92eedb4f authored by jensilo's avatar jensilo
Browse files

naming

parent ef02b2b1
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ func RegisterController(appCtx *hctx.AppCtx, webCtx *web.Ctx) {
router.Put("/template-set/{id}", templateSetEditController(appCtx, webCtx).ServeHTTP)
router.Delete("/template-set/{id}", templateSetDeleteController(appCtx, webCtx).ServeHTTP)
// TODO generalize this
router.Post("/template-set/import/default-paris", templateSetImportDefaultParisController(appCtx, webCtx).ServeHTTP)
router.Post("/template-set/import/default-paris", templateSetImportDefaultPARISController(appCtx, webCtx).ServeHTTP)
router.Get("/template-set/{id}/list", templateListController(appCtx, webCtx).ServeHTTP)
router.Get("/template-set/{id}/new", templateNewController(appCtx, webCtx).ServeHTTP)
......@@ -412,7 +412,7 @@ func templateCopyController(appCtx *hctx.AppCtx, webCtx *web.Ctx) http.Handler {
})
}
func templateSetImportDefaultParisController(appCtx *hctx.AppCtx, webCtx *web.Ctx) http.Handler {
func templateSetImportDefaultPARISController(appCtx *hctx.AppCtx, webCtx *web.Ctx) http.Handler {
templateSetRepository := util.UnwrapType[template.SetRepository](appCtx.Repository(template.SetRepositoryName))
templateRepository := util.UnwrapType[template.Repository](appCtx.Repository(template.RepositoryName))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment