Browse Source

Return success on custom styles save

pull/918/head
Gabe Kangas 4 years ago
parent
commit
f313f69946
  1. 3
      controllers/admin/config.go

3
controllers/admin/config.go

@ -537,6 +537,9 @@ func SetCustomStyles(w http.ResponseWriter, r *http.Request) { @@ -537,6 +537,9 @@ func SetCustomStyles(w http.ResponseWriter, r *http.Request) {
}
data.SetCustomStyles(customStyles.Value.(string))
controllers.WriteSimpleResponse(w, true, "custom styles updated")
}
func requirePOST(w http.ResponseWriter, r *http.Request) bool {

Loading…
Cancel
Save