mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 19:34:19 +00:00
Use showUserPage func for blog customize page
This fixes the page not rendering on Windows. Closes #61
This commit is contained in:
parent
21e6c64708
commit
d0edbd1936
1 changed files with 1 additions and 3 deletions
|
@ -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…
Reference in a new issue