Former-commit-id: 758fe342877af58e60b52d5cec1bb27e1f81ac96
This commit is contained in:
Henrique Dias
2016-12-31 15:29:36 +00:00
parent b6f42cc806
commit ae58591933
9 changed files with 566 additions and 425 deletions

View File

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