Correct template name

This commit is contained in:
Eliot Whalan 2016-06-24 11:24:24 +10:00
parent a31b02e352
commit cb27aab401
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ func pasteHandler(w http.ResponseWriter, r *http.Request) {
Raw: link, Raw: link,
Home: ADDRESS, Home: ADDRESS,
} }
err := templates.ExecuteTemplate(w, "assets/paste.html", p) err := templates.ExecuteTemplate(w, "paste.html", p)
if err != nil { if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError) http.Error(w, err.Error(), http.StatusInternalServerError)
} }