close #64
This commit is contained in:
1 parent
3c574d2848
commit
fbbf79d757
5 files changed
+94
-55
No files matched your search
+1
-1
@@ -36,7 +36,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.Data, err = GetEditor(r, i)
|
||||
p.Editor = true
|
||||
if err != nil {
|
||||
return http.StatusInternalServerError, err
|
||||
|
||||
Reference in new issue
Block a user