Use showUserPage func for blog customize page

This fixes the page not rendering on Windows.

Closes #61
pull/66/head
Matt Baer 6 years ago
parent 21e6c64708
commit d0edbd1936
  1. 4
      account.go

@ -796,9 +796,7 @@ func viewEditCollection(app *app, u *User, w http.ResponseWriter, r *http.Reques
Collection: c,
}
if err := userPages["user/collection.tmpl"].ExecuteTemplate(w, "collection", obj); err != nil {
log.Error("Error parsing user collection: %v", err)
}
showUserPage(w, "collection", obj)
return nil
}

Loading…
Cancel
Save