Correct file name

This commit is contained in:
Eliot Whalan 2016-06-23 19:00:53 +10:00
parent 588f5b3510
commit cb22172e25
No known key found for this signature in database
GPG Key ID: C0A42175139840D6
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
Title: paste,
Body: []byte(s),
}
t, err := template.ParseFiles("assets/edit.html")
t, err := template.ParseFiles("assets/paste.html")
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
}