mirror of
https://github.com/writefreely/writefreely.git
synced 2024-11-15 00:41:06 +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
@ -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 New Issue
Block a user