Skip to content
Snippets Groups Projects
Commit 00999a0a authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

First attempt at detail view

parent 4fa2179e
Branches
Tags 1.7.1
No related merge requests found
...@@ -342,13 +342,8 @@ func main() { ...@@ -342,13 +342,8 @@ func main() {
} }
} }
if err = returnResult(w, "image_detail.html", ImageDetailData{ w.WriteHeader(http.StatusNotFound)
user, fmt.Fprint(w, "Image not found")
Image{},
false,
}); err != nil {
panic(err)
}
}))) })))
http.HandleFunc("/me/images/", func(w http.ResponseWriter, r *http.Request) { http.HandleFunc("/me/images/", func(w http.ResponseWriter, r *http.Request) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment