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, Collection: c,
} }
if err := userPages["user/collection.tmpl"].ExecuteTemplate(w, "collection", obj); err != nil { showUserPage(w, "collection", obj)
log.Error("Error parsing user collection: %v", err)
}
return nil return nil
} }

Loading…
Cancel
Save