Correct file name

This commit is contained in:
Eliot Whalan 2016-06-23 19:00:53 +10:00
parent 4ddc5c59f5
commit 0f156c1789
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)
}