unexport and rework some more things

This commit is contained in:
Henrique Dias
2017-06-25 14:48:34 +01:00
parent fffbcc7098
commit e1bee6d07e
5 changed files with 27 additions and 31 deletions

View File

@@ -37,7 +37,7 @@ func serveSingle(w http.ResponseWriter, r *http.Request, c *FileManager, u *user
}
if i.CanBeEdited() && u.AllowEdit {
p.Data, err = GetEditor(r, i)
p.Data, err = getEditor(r, i)
p.Editor = true
if err != nil {
return http.StatusInternalServerError, err