1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2025-12-07 08:58:07 +00:00

Move stuff around

This commit is contained in:
Timur Ismagilov
2022-06-06 17:41:33 +03:00
parent 2b14fa8de1
commit 5e2c20c559
8 changed files with 66 additions and 63 deletions

View File

@@ -171,7 +171,7 @@ func handlerEdit(w http.ResponseWriter, rq *http.Request) {
case *hyphae.EmptyHypha:
warning = fmt.Sprintf(`<p class="warning warning_new-hypha">%s</p>`, lc.Get("edit.new_hypha"))
default:
textAreaFill, err = shroom.FetchTextFile(h)
textAreaFill, err = hyphae.FetchMycomarkupFile(h)
if err != nil {
log.Println(err)
viewutil.HttpErr(meta, http.StatusInternalServerError, hyphaName, lc.Get("ui.error_text_fetch"))